[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 Jan 14 23:33:45 CET 2013
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9126
Elliott Davis <elliott at bywatersolutions.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #14290|0 |1
is obsolete| |
--- Comment #12 from Elliott Davis <elliott at bywatersolutions.com> ---
Created attachment 14574
-->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=14574&action=edit
[Passed QA] Bug 9126: Do not return from Check too early.
If there is no errors, it should continue instead of returning true.
+ move a block of code at the end of Check function. This avoid
detaching and re-attaching a HTML block if there are errors.
Signed-off-by: Jonathan Druart <jonathan.druart at biblibre.com>
The following queries show us the issues:
select count(*) from items;
select * from aqorders_items where ordernumber=XX;
Signed-off-by: Katrin Fischer <Katrin.Fischer.83 at web.de>
To test:
AcqCreateItem = receive
UniqueItemFields = barcode
1) Create a new basket
2) Create a new order with quantity > 1
3) Close the basket and create a new invoice/shipment
4) Receive only 1 item.
- Fill out the first item form with item type only. Click add.
- Don't change second item form at all.
- Click save.
Before patch:
2 items are created on the record, both with the selected itemtype.
After patch:
Only 1 item is created, which is correct.
Signed-off-by: Elliott Davis <elliott at bywatersolions.com>
Seems to work as described by the test plan
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list