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

            Bug ID: 42699
           Summary: Editing an already received serial with a duplicate
                    barcode leads to Error 500
   Initiative type: ---
        Sponsorship ---
            status:
           Product: Koha
           Version: 25.05
          Hardware: All
                OS: All
            Status: NEW
          Severity: minor
          Priority: P5 - low
         Component: Serials
          Assignee: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]

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. Apparently there's no validation on
the serial module's edit page which causes that problem. 

Steps to Reproduce: 
-Go to serials module
-Search for a serial that is not expired to edit and click on the title
-Go to Serial collection from the menu
-Use the checkboxes to mark an already received (eg. usually older, arrived,
not expected) serial and click Edit serials
-Click on Edit item
-Replace the barcode with a unique barcode that is already in use and hit save
-> Error 500


Actual Results: Saving changes returns Error 500.

Expected Results: Validation returns a duplicate barcode value/already in use
error and doesn't try to save before a valid and unique barcode is given.

-- 
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/

Reply via email to