[Koha-bugs] [Bug 26744] Log changes to extended patron attributes

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Mar 26 20:57:08 CET 2024


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

--- Comment #6 from David Gustafsson <glasklas at gmail.com> ---
Created attachment 163957
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=163957&action=edit
Bug 26744: Log changes to extended patron attributes

Log non-repeatable attributes and only log changes and creations, not
deletions.
When changed, attributes are first all deleted, then the relevant ones are
recreated.
This patch catches all deletions, and checks against them in the creation
phase, logging
only the attributes that have changed (with before/after content). This makes
it impossible
to log actual deletions.

To test:

1) Ensure tests in  t/db_dependent/Koha/Patron/Attribute.t passes

Sponsored-by: Gothenburg University Library

-- 
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