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

--- Comment #4 from Chris Cormack <[email protected]> ---
Created attachment 18394
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=18394&action=edit
Bug 10029 - CAS authentication fails in OPAC reserve

If OPAC reserve page is accessed without being logged-in, login form is
displayed as well as a CAS authentication link (if enabled). A click on this
link will lead to CAS server but one comming back to Koha, page shows an error
: "ERROR: No biblionumber received".
This is because CAS link only contains the query path
"/cgi-bin/koha/opac-reserve.pl", not the query parameters.

This patch adds query parameters to URI sent to CAS.

Test plan :
- Enable CAS
- Go to opac without been logged-in
- Try to place hold on a record
=> You get to /cgi-bin/koha/opac-reserve.pl?biblionumber=XXX showing
authentication page
=> Check that CAS link contains query param "biblionumber"
- Click on CAS link and log in
=> Check you return well logged-in to reserve page with biblionumber param

Signed-off-by: Chris Cormack <[email protected]>

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to