[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
Sat Jan 18 21:09:25 CET 2014


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

--- Comment #12 from Katrin Fischer <katrin.fischer at bsz-bw.de> ---
Created attachment 24547
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=24547&action=edit
[PASSED QA] 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.

Signed-off-by: Sonia BOUIS <sonia.bouis at univ-lyon3.fr>
Signed-off-by: Katrin Fischer <Katrin.Fischer.83 at web.de>

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


More information about the Koha-bugs mailing list