https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23185
Bug ID: 23185
Summary: Koha::Objects supports passing through 'update' which
means we can side step 'set' + 'store'
Change sponsored?: ---
Product: Koha
Version: master
Hardware: All
OS: All
Status: NEW
Severity: critical
Priority: P1 - high
Component: Architecture, internals, and plumbing
Assignee: [email protected]
Reporter: [email protected]
QA Contact: [email protected]
CC: [email protected],
[email protected],
[email protected],
[email protected], [email protected],
[email protected],
[email protected], [email protected]
Depends on: 21761
Target Milestone: ---
+++ This bug was initially created as a clone of Bug #21761 +++
If we're adding triggers at the code level all over the place by overloading
the store method we need to never ever let dbic handle it.. by allowing the
'update' method through we are exposing ourselves to places in the codebase
skipping the store triggers.
This would in effect bind us to the 'update_all' style of update call from
dbic, which results in a loop over the affected rows so that in code triggers
can be called per row rather than allowing any form of 'update all these rows
to X' in one query.
Referenced Bugs:
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=21761
[Bug 21761] Koha::Object supports passing through 'update' which means we can
side step 'set' + 'store'
--
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/