[Koha-bugs] [Bug 17673] New: HTML5Media: Using an OPAC URL for an uploaded file does not work in staff
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Wed Nov 23 17:33:17 CET 2016
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17673
Bug ID: 17673
Summary: HTML5Media: Using an OPAC URL for an uploaded file
does not work in staff
Change sponsored?: ---
Product: Koha
Version: master
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P5 - low
Component: Staff Client
Assignee: koha-bugs at lists.koha-community.org
Reporter: m.de.rooy at rijksmuseum.nl
QA Contact: testopia at bugs.koha-community.org
CC: gmcharlt at gmail.com
Currently, playing an uploaded file in the Media tab will not work. The URL is
invalid.
The URLs should be:
OPAC /cgi-bin/koha/opac-retrieve-file.pl?id=bce868a0f5521e9329ccbc73414b4927
STAFF
/cgi-bin/koha/opac/opac-retrieve-file.pl?id=bce868a0f5521e9329ccbc73414b4927
Note that the URL used in staff is the OPAC one from 856$u.
In this case "opac-retrieve-file" should be prefixed with "opac/".
Alternatively, the staff upload URL could be:
/cgi-bin/koha/tools/upload.pl?op=download&id=316
NOTE: In this case the id is the real id; in opac parameter id is actually used
for the hashvalue.
--
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
More information about the Koha-bugs
mailing list