https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41696
Bug ID: 41696
Summary: Error handling in additem.pl is too specific and
insufficient
Initiative type: ---
Sponsorship ---
status:
Product: Koha
Version: Main
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: P5 - low
Component: Cataloging
Assignee: [email protected]
Reporter: [email protected]
QA Contact: [email protected]
CC: [email protected]
additem.tt template "humanizes" every error it knows about, and ignores all
others. This problem is noted in additem.pl itself
(https://gitlab.com/koha-community/Koha/-/blob/166604f9f3938307de6ea5f2530b61ba1cb3b492/cataloguing/additem.pl#L638).
The way it currently works is that any unhandled failure when adding/editing
items fails quietly on the backend, but returns a 200 and shows a successful
page to the user (a background job handling the same, but batched edit would
fail visibly).
The code and the template should be changed so that any caught exception leaves
*some* trace in the interface and clearly indicates that an action has failed.
(Patch incoming).
--
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/