[Koha-bugs] [Bug 32894] Objects cache methods' result without invalidation

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue May 9 14:19:21 CEST 2023


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

Kyle M Hall <kyle at bywatersolutions.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |kyle at bywatersolutions.com

--- Comment #32 from Kyle M Hall <kyle at bywatersolutions.com> ---
I do not think this is a great idea long term. This is moving backwards when it
comes to efficiency and will introduce far more database calls. It seems like
it might be better to fix the code that is making a bad assumption. The short
term fix is to use discard_changes when needed. The long term fix is to use
Koha objects from the perl scripts and pass them to subroutines so we have no
need to re-fetch data from the database.

Have you identified any bugs being caused by this, or it just a possibility as
you've shown?

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list