[Koha-bugs] [Bug 34694] New: OPAC bib record blows up with error 500
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Fri Sep 1 18:04:37 CEST 2023
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 at myacpl.org
Reporter: pedro.amorim at ptfs-europe.com
QA Contact: testopia at bugs.koha-community.org
CC: jonathan.druart+koha at gmail.com,
katrin.fischer at bsz-bw.de, lucas at bywatersolutions.com,
m.de.rooy at rijksmuseum.nl,
martin.renvoize at ptfs-europe.com,
nick at bywatersolutions.com, tomascohen at 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.
More information about the Koha-bugs
mailing list