https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=34694 Bug ID: 34694 Summary: OPAC bib record blows up with error 500 Change sponsored?: --- Product: Koha Version: master Hardware: All OS: All Status: NEW Severity: critical Priority: P5 - low Component: OPAC Assignee: oleonard@myacpl.org Reporter: pedro.amorim@ptfs-europe.com QA Contact: testopia@bugs.koha-community.org CC: jonathan.druart+koha@gmail.com, katrin.fischer@bsz-bw.de, lucas@bywatersolutions.com, m.de.rooy@rijksmuseum.nl, martin.renvoize@ptfs-europe.com, nick@bywatersolutions.com, tomascohen@gmail.com Depends on: 30846 To reproduce, on k-t-d: - Go to circulation rules and set On shelf holds allowed to If all unavailable - Log out - Visit a bib record on OPAC: http://localhost:8080/cgi-bin/koha/opac-detail.pl?biblionumber=76 - Notice it blows up with error 500 Can't call method "id" on an undefined value at /kohadevbox/koha/C4/Reserves.pm line 1385 I believe this was caused by bug 30846. $patron is undefined at that point in the code. Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30846 [Bug 30846] "If any unavailable" doesn't consider negative notforloan values as unavailable -- You are receiving this mail because: You are watching all bug changes.