[Bug 15226] New: Broken link in staff client for files attached to records
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15226 Bug ID: 15226 Summary: Broken link in staff client for files attached to records Change sponsored?: --- Product: Koha Version: unspecified Hardware: All OS: All Status: NEW Severity: normal Priority: P5 - low Component: Cataloging Assignee: gmcharlt@gmail.com Reporter: mirko@abunchofthings.net QA Contact: testopia@bugs.koha-community.org CC: m.de.rooy@rijksmuseum.nl When a files is attached to a record via upload.pl, the link 'Click here to access online' is broken (uses opac-retrieve-file.pl which is not available in staff client). -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15226 Mirko Tietgen <mirko@abunchofthings.net> changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |http://bugs.koha-community. | |org/bugzilla3/show_bug.cgi? | |id=15225 -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15226 --- Comment #1 from Marcel de Rooy <m.de.rooy@rijksmuseum.nl> --- Could you please verify if your OPACBaseURL is filled in correctly? The link that upload puts in MARC 856 depends on a working base url.. Secondly, if the file is not marked public, it will not be downloadable via opac-retrieve-file either. -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15226 --- Comment #2 from Mirko Tietgen <mirko@abunchofthings.net> --- Marcel: it is the same problem with OPACBaseURl and the staff equivalent filled in. catalogue/detail.pl in the staff client uses the staff base URL to link to online resources, eg. http://192.168.2.55:8080/cgi-bin/koha/opac-retrieve-file.pl?id=a57f99e63c861... but opac-retrieve-file.pl is on OPAC side and can't be accessed from the link in the staff client. The file is public, it works fine in OPAC. -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15226 --- Comment #3 from Marcel de Rooy <m.de.rooy@rijksmuseum.nl> --- (In reply to Mirko Tietgen from comment #2)
Marcel: it is the same problem with OPACBaseURl and the staff equivalent filled in.
catalogue/detail.pl in the staff client uses the staff base URL to link to online resources, eg.
http://192.168.2.55:8080/cgi-bin/koha/opac-retrieve-file. pl?id=a57f99e63c861bfdbc9cd63d64cf3352
but opac-retrieve-file.pl is on OPAC side and can't be accessed from the link in the staff client.
The file is public, it works fine in OPAC.
The URL should already contain the OPAC base URL as copied by the plugin. Note that the URL should be okay BEFORE using upload. I am not sure if I interpret your example correctly. But 8080 looks like a port for staff; it should not be in OPACBaseURL. (You did not change it after the upload?) And are you sure this is not a networking configuration problem btw? You are using local ip addresses here.. -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15226 Mirko Tietgen <mirko@abunchofthings.net> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |INVALID --- Comment #4 from Mirko Tietgen <mirko@abunchofthings.net> --- You are correct. Setting the base URL parameter _before_ uploading fixes my problem. Closing the report, thanks for your help! -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org