[Koha-bugs] [Bug 25386] New: Internal server error when duplicate/too long barcodes are used in acquisition
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Wed May 6 08:31:51 CEST 2020
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25386
Bug ID: 25386
Summary: Internal server error when duplicate/too long barcodes
are used in acquisition
Change sponsored?: ---
Product: Koha
Version: master
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: P5 - low
Component: Acquisitions
Assignee: koha-bugs at lists.koha-community.org
Reporter: katrin.fischer at bsz-bw.de
QA Contact: testopia at bugs.koha-community.org
When creating items on order or on receive there is a duplicate check for
barcodes that usually detects if you are trying to reuse an already used
barcode and prevents you from saving.
But if you have used a barcode too long before and are not running with
'strict', the barcode will have been cut off at 20 characters. Now trying to
create the next item with a too long barcode, where the 20 first characters
match, will not trigger the duplicate warning, but instead an internal server
error. The bad part is that the order will still be created/received, but the
items are not.
To test:
- Edit an item in your catalog to have a barcode with 20 characters
- Create a new basket in acq with either "create items on order" or "on
receive"
- Start the ordering process, when you get to the create items step
- Enter your 20 character barcode, try to safe
- Verify the duplicate message is triggered on saving
- Add some characters to the end of your barcode
- Verify on saving there is an internal server error
- The order is created, but there are no new items
--
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
More information about the Koha-bugs
mailing list