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

--- Comment #11 from Lisette Scheer <[email protected]> ---
Created attachment 195085
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=195085&action=edit
Bug 40136: (follow-up) Fix extended_attributes logaction to populate diff
column

The extended_attributes setter and add_extended_attribute both logged
attribute changes using the old custom {before, after} format passed as
the info string, with no $original argument, so the diff column was never
populated.

Split the existing $change->{before}/$change->{after} into separate
$log_from/$log_to hashrefs and call logaction with the standard signature,
so Struct::Diff generates the diff column as with other MEMBERS/MODIFY
entries.

Update tests to reflect the new info column format (after-state only)
and remove a stray debug Data::Dumper/print left in the test.

Signed-off-by: Lisette Scheer <[email protected]>

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to