[Koha-bugs] [Bug 10217] Make sure direct links to detail views work when there is no session

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed May 8 22:11:59 CEST 2013


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

--- Comment #2 from Owen Leonard <oleonard at myacpl.org> ---
Created attachment 18037
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=18037&action=edit
[SIGNED-OFF] Bug 10217 - Make sure direct links to detail views work when there
is no session

To reproduce:
- Make sure you do not have a session for the OPAC you will be testing
  with. Delete the CGISESSID session cookie if you have one.
- Go directly to a detail view, e.g.:
  /cgi-bin/koha/opac-detail.pl?biblionumber=1
- Observe the error "Can't use an undefined value as a HASH
  reference at /home/magnus/scripts/kohadev/opac/opac-detail.pl line 445."

To test:
- Apply the patch
- Reload the page with the error
- You should now see the detail view of the record, as usual

Thanks to Chris Cormack who suggested the fix for this!

Signed-off-by: Owen Leonard <oleonard at myacpl.org>

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list