[Koha-bugs] [Bug 9126] Receiving orders create too much items

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Dec 10 09:42:32 CET 2012


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

--- Comment #10 from Julian Maurice <julian.maurice at biblibre.com> ---
Hello Kyle,

I think the additional item is not created because of "unique key" on
items.barcode. You may see in log file something like this:
  DBD::mysql::st execute failed: Duplicate entry '013' for key 'itembarcodeidx
at /home/julian/koha/src/C4/Items.pm line 2105
  DBD::mysql::st execute failed: Column 'itemnumber' cannot be null at
/home/julian/koha/src/C4/Acquisition.pm line 1094.

Try the following steps:
  - create order with quantity=2 and go to receipt page
  - fill the item form for the first item with a unique barcode and click 'add'
  - in the new item form change barcode so it is unique too but do not click on
'add'
  - click 'Save'
  - you should have 2 items created but parcel.pl indicates only 1 item
received.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list