[Koha-bugs] [Bug 29879] New: Make sure objects moved to old_* is not tried to be saved again
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Thu Jan 13 19:13:44 CET 2022
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29879
Bug ID: 29879
Summary: Make sure objects moved to old_* is not tried to be
saved again
Change sponsored?: ---
Product: Koha
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: P5 - low
Component: Architecture, internals, and plumbing
Assignee: koha-bugs at lists.koha-community.org
Reporter: tomascohen at gmail.com
QA Contact: testopia at bugs.koha-community.org
When a checkout or a hold is completed, Koha moves the issues/reserves row to
their old_* counterpart. We are leaning towards chaining calls to simplify
code, but calling methods like Koha::Hold->cancel or Koha::Hold->fill should
somehow mark the current object so trying to store it by mistake should raise
an exception.
--
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
More information about the Koha-bugs
mailing list