[Koha-bugs] [Bug 11549] After transferring an order, receive and cancel the receipt will delete the order

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Jan 14 12:19:33 CET 2014


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

--- Comment #2 from Jonathan Druart <jonathan.druart at biblibre.com> ---
Created attachment 24275
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=24275&action=edit
Bug 11549: FIX receive and cancel the receipt after a transfer.

To reproduce the issue:
- transfer an order from a basket to another. Note the previous
ordernumber (X) and the new one (Y).
- receive the order
- cancel the receipt
- verify the order has been deleted:
select count(*) from aqorders where ordernumber=Y;
select * from aqorders_transfers where ordernumber_from = X;
The value for ordernumber_to is null.

To test this patch:
- apply this patch
- transfer an order from a basket to another
- receive the order
- cancel the receipt
- verify the order still exist in the basket where the transfer has been
  done.

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


More information about the Koha-bugs mailing list