[Koha-bugs] [Bug 23187] New: Koha::Objects supports find_or_create without passing through the Koha::Object store method

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Jun 21 18:00:39 CEST 2019


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

            Bug ID: 23187
           Summary: Koha::Objects supports find_or_create without passing
                    through the Koha::Object store method
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: critical
          Priority: P1 - high
         Component: Architecture, internals, and plumbing
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: martin.renvoize at ptfs-europe.com
        QA Contact: testopia at bugs.koha-community.org
                CC: dcook at prosentient.com.au,
                    jonathan.druart at bugs.koha-community.org,
                    koha-bugs at lists.koha-community.org,
                    kyle at bywatersolutions.com, m.de.rooy at rijksmuseum.nl,
                    martin.renvoize at ptfs-europe.com,
                    testopia at bugs.koha-community.org, tomascohen at gmail.com
        Depends on: 21761
            Blocks: 23185
  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
directly passing data to dbic's find_or_create method in Koha::Objects we are
exposing ourselves to places in the codebase skipping the store triggers.


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'
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23185
[Bug 23185] Koha::Objects supports passing through 'update' which means we can
side step 'set' + 'store'
-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
You are watching all bug changes.


More information about the Koha-bugs mailing list