[Koha-bugs] [Bug 7152] Koha should make it easy for librarians to attach covers using Open Library

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Sun Nov 6 12:16:49 CET 2011


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7152

--- Comment #8 from Robin Sheat <robin at catalyst.net.nz> 2011-11-06 11:16:49 UTC ---
When using the uploader thing with:

                <form action="http://openlibrary.org/api/ils_cover_upload"
                    method="post"
                    name="upload">
                    <input type="hidden" name="authorization"
value="Bl4hB1AHblah==" />
                    <input type="hidden" name="olid" value="OL123TEST" />
                    <input type="hidden" name="redirect_url"
id="ol_redirect_url"
value="http://koha:8080/cgi-bin/koha/cataloguing/openlibrary.pl?biblionumber=8&redir=additem"
/>
                    <input type="file" name="file" />
                    <input type="submit" name="submit" value="Upload" />
                </form>

I get a document of type application/json with the content "None", rather than
a redirect.

Note that the auth values I provided aren't valid currently, nor is the OLID
I'm using for testing, so I expect a failure. However, I also hope for a
redirect.

-- 
Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.


More information about the Koha-bugs mailing list