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

--- Comment #59 from Martin Renvoize (ashimema) 
<[email protected]> ---
Created attachment 203161
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=203161&action=edit
Bug 42310: (QA follow-up) Harden Koha::Calendar->copy_to

Wrap the body in schema->txn_do so a failure partway through does not
leave the target library partially populated. Flush the target's
_holidays cache after the copy, and document the behaviour in POD:
weekly and repeating closures are always copied, but single closures
and exceptions are filtered to today-or-later dates by design.

Test plan:
1) prove t/db_dependent/Koha/Calendar.t
2) Confirm existing copy_to tests still pass.

-- 
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