[Koha-bugs] [Bug 9185] New: Duplicate barcode check broken on order receive
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Sat Dec 1 23:18:32 CET 2012
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9185
Bug ID: 9185
Summary: Duplicate barcode check broken on order receive
Classification: Unclassified
Change sponsored?: ---
Product: Koha
Version: master
Hardware: All
OS: All
Status: NEW
Severity: major
Priority: P5 - low
Component: Acquisitions
Assignee: koha-bugs at lists.koha-community.org
Reporter: katrin.fischer at bsz-bw.de
Settings:
AcqCreateItem = on receive
UniqueItemFields = barcode
1) Create a new order with one or more order lines
2) Close basket
3) Create a new invoice/shipment
4) Receive one item, use existing barcode
Problem:
- on saving, no warning appears
- item creation silently fails
Log:
...
[Sat Dec 01 23:11:05 2012] [error] [client 127.0.0.1] [Sat Dec 1 23:11:05
2012] finishreceive.pl: Indicator in 952 is empty at
/home/katrin/kohaclone/C4/Biblio.pm line 2285., referer:
http://localhost:8080/cgi-bin/koha/acqui/orderreceive.pl?ordernumber=25&invoiceid=3
[Sat Dec 01 23:11:05 2012] [error] [client 127.0.0.1] [Sat Dec 1 23:11:05
2012] finishreceive.pl: DBD::mysql::st execute failed: Duplicate entry '3' for
key 'itembarcodeidx' at /home/katrin/kohaclone/C4/Items.pm line 2105., referer:
http://localhost:8080/cgi-bin/koha/acqui/orderreceive.pl?ordernumber=25&invoiceid=3
[Sat Dec 01 23:11:05 2012] [error] [client 127.0.0.1] [Sat Dec 1 23:11:05
2012] finishreceive.pl: DBD::mysql::st execute failed: Column 'itemnumber'
cannot be null at /home/katrin/kohaclone/C4/Acquisition.pm line 1094., referer:
http://localhost:8080/cgi-bin/koha/acqui/orderreceive.pl?ordernumber=25&invoiceid=3
...
--
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