[Bug 41244] New: Logging patron attributes logs two entries everytime a new patron account (with extended attribute values) is created
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41244 Bug ID: 41244 Summary: Logging patron attributes logs two entries everytime a new patron account (with extended attribute values) is created Initiative type: --- Sponsorship --- status: Product: Koha Version: Main Hardware: All OS: All Status: NEW Severity: enhancement Priority: P5 - low Component: Patrons Assignee: koha-bugs@lists.koha-community.org Reporter: alexbuckley@catalyst.net.nz QA Contact: testopia@bugs.koha-community.org CC: gmcharlt@gmail.com, kyle@bywatersolutions.com Created attachment 189528 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=189528&action=edit Two action log entries when creatng a patron account When you create a new patron account (with extended attribute values included) - and the borrowersLog syspref enabled - two log entries are generated: - a Create action - a Modify action (See attached screenshot). This happens when you use the 'Import patron' tool or manually create a new patron in the staff client. Surely, only the create log entry should be generated. -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41244 Alex Buckley <alexbuckley@catalyst.net.nz> changed: What |Removed |Added ---------------------------------------------------------------------------- Depends on| |26744 Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26744 [Bug 26744] Log changes to extended patron attributes -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41244 Nick Clemens (kidclamp) <nick@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |nick@bywatersolutions.com --- Comment #1 from Nick Clemens (kidclamp) <nick@bywatersolutions.com> --- Created attachment 189690 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=189690&action=edit Two logs when editing a patron - one for borrowers table, one for attributes It seems this is true for editing a patron as well - they are different objects/tables, so I understand why we have two. -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41244 --- Comment #2 from Alex Buckley <alexbuckley@catalyst.net.nz> --- H(In reply to Nick Clemens (kidclamp) from comment #1)
Created attachment 189690 [details] Two logs when editing a patron - one for borrowers table, one for attributes
It seems this is true for editing a patron as well - they are different objects/tables, so I understand why we have two.
Hey Nick, I wonder if the attribute logging when editing a patron is related to (and fixed by) https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41145 As I notice the attribute 'before' value is empty. What do you think? -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org