https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42699
Emmi Takkinen <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|[email protected] |[email protected] |ity.org | Status|NEW |Needs Signoff CC| |[email protected] --- Comment #1 from Emmi Takkinen <[email protected]> --- Created attachment 200003 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=200003&action=edit Bug 42699: Display Koha error message when attempting to save non-unique barcode in Edit serials When you edit an already received serial from Serial collection page using Edit serials and edit items buttons, and try to save a barcode that already exists on another item, saving leads to Error 500. There is no barcode validation for editing serials, this patch adds it. To test: 1. Go to serials module. 2. Search for a serial that is not expired to edit and click on the title. 3. Go to Serial collection from the menu. 4. Use the checkboxes to mark an already received (eg. usually older, arrived, not expected) serial and click Edit serials. 5. Click on Edit item. 6. Replace the barcode with a unique barcode that is already in use and hit save. => Error 500 is raised. 7. Apply this patch and restart services. 8. Attempt to save serial with already used barcode again. => A standard Koha error message is displayed stating that barcode must be unique. Sponsored-by: Koha-Suomi Oy -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes. _______________________________________________ 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/
