https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41087

--- Comment #12 from Martin Renvoize (ashimema) 
<[email protected]> ---
Created attachment 208016
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=208016&action=edit
Bug 41087: Add reprocess for EDIFACT messages

Add Koha::Edifact::File->reprocess, which rolls a message back and
processes it again in one transaction. If processing fails the rollback
is reverted too and the message is left exactly as it was.

Plugins are told about the rollback (after_edifact_action) before the
new run is processed.

Test plan:
1. Apply the patch
2. prove t/db_dependent/Koha/Edifact/File/Rollback.t
   (it includes a run against the real INVOICE.CEI test file: process,
   roll back, import again and reprocess)

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/

Reply via email to