[Koha-bugs] [Bug 28692] Reduce DB action_log table size

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Nov 4 11:24:24 CET 2021


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

Jonathan Druart <jonathan.druart+koha at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|Failed QA                   |Needs Signoff

--- Comment #18 from Jonathan Druart <jonathan.druart+koha at gmail.com> ---
This patch is more or less the same as Petro, but 1. it calls get_from_storage
and 2. deals with any Koha::Object we will pass.

There is much more to do for logging correctly, this patch is only impacting
calls where Dumper($object->unblessed) were passed to logaction.

We certainly need to improve the whole thing and pass an object from
everywhere, deal with logic in logaction (depending on the objects we have),
log a pre/post stringified versions of the object in 2 different columns (to
allow a nice diff from the UI), and finally stringify using JSON (that is
currently done only for acquisition logs and patron modification, which is
quite inconsistent). This is definitely for a separate bug report, but I think
we should focus on it (as a team) for 22.05.

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


More information about the Koha-bugs mailing list