http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6963 Bug #: 6963 Summary: When creating a new order, the item isn't added if its barcode already exists in the items table. Classification: Unclassified Change sponsored?: --- Product: Koha Version: rel_3_6 Platform: All OS/Version: All Status: NEW Severity: normal Priority: P5 Component: Acquisitions AssignedTo: henridamien@koha-fr.org ReportedBy: fcapovilla@live.ca QAContact: koha-bugs@lists.koha-community.org Created attachment 5682 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=5682 Corrects a problem when a new order is created with a duplicate barcode. The problem happens if the AcqCreateItem preference is set to "ordering". If we try to add a new order with a barcode that's already used in the items table, no error is returned, but an invalid itemnumber is saved in the aqorders_items table and the new item is never created. Patch attached that adds a duplicate barcode verification in neworderempty.pl and modifies _koha_add_item so it won't return an invalid ID when an item can't be added. -- Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA Contact for the bug.