[Koha-bugs] [Bug 8684] Duplicate check for creating items on order broken

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Apr 12 00:10:49 CEST 2013


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8684

--- Comment #3 from Katrin Fischer <katrin.fischer at bsz-bw.de> ---
Merging with duplicate bug 9185:

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