https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41087
--- Comment #10 from Martin Renvoize (ashimema) <[email protected]> --- Created attachment 208014 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=208014&action=edit Bug 41087: Roll back EDIFACT quote messages Rolling back a QUOTE message removes the baskets created from it, including those of split multi-message quotes, with their orders, items and the biblios the quote created. Biblios that other items, orders or subscriptions still use are kept. Baskets closed by auto_orders can be rolled back while their ORDERS message is still Pending; that message is deleted in the same transaction so edi_cron.pl cannot send it. The parent message is detached from its basket first because the basketno foreign key cascades. The rollback is refused when a basket is in a basket group, is closed without a pending EDI order, has an order that was received or changed, or when its ORDERS message has already been sent. Test plan: 1. Apply the patch 2. prove t/db_dependent/Koha/Edifact/File/Rollback.t Co-Authored-By: Claude Sonnet 5.5 <[email protected]> -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list -- [email protected] To unsubscribe send an email to [email protected] website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
