[Koha-bugs] [Bug 17214] Add records to lists by biblio number

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Oct 27 09:42:21 CEST 2017


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17214

--- Comment #22 from Marcel de Rooy <m.de.rooy at rijksmuseum.nl> ---
QA Comment:
No blocker, but having some doubts on this line:
if ($@) {
    push @messages, { bibnum => $biblionumber, type => 'alert', code =>
ref($@), msg => $@ };

For a regular die ref($@) is empty string, so code will be empty. 
If $@ is an object, the template only checks DBIx::Class::Exception.
But shelf store might raise a few Koha::Exceptions too..
Added a follow-up that at least adds message when code is empty.

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


More information about the Koha-bugs mailing list