[Koha-bugs] [Bug 32674] New: When placing a hold in OPAC page explodes into error 500
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Wed Jan 18 17:16:16 CET 2023
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32674
Bug ID: 32674
Summary: When placing a hold in OPAC page explodes into error
500
Change sponsored?: ---
Product: Koha
Version: master
Hardware: All
OS: All
Status: NEW
Severity: major
Priority: P5 - low
Component: OPAC
Assignee: oleonard at myacpl.org
Reporter: katrin.fischer at bsz-bw.de
QA Contact: testopia at bugs.koha-community.org
CC: jonathan.druart+koha at gmail.com
When trying to place a hold on a record in the OPAC, we get an error 500 in
22.11.01.
The error in the logs is:
DBIx::Class::Storage::DBI::_dbh_execute(): DBI Exception: DBD::mysql::st
execute failed: Column 'biblionumber' in where clause is ambiguous at
/usr/share/koha/lib/Koha/Objects.pm line 394
With Joubu's help we tested following change that fixes the issue:
opac/opac-reserve.pl, L.338
- biblionumber => $biblioNumber,
+ "me.biblionumber" => $biblionumber,
There is no test plan as we haven't figured out yet, why this happens for some
records and not for others. Items and records look normal, no hidden items on
the record and no 773 etc. :)
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list