[Koha-bugs] [Bug 27066] Implement hooks for patrons updates

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Sep 15 17:07:46 CEST 2022


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

Nick Clemens <nick at bywatersolutions.com> changed:

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

--- Comment #15 from Nick Clemens <nick at bywatersolutions.com> ---
(In reply to Martin Renvoize from comment #14)
> If 'before' and 'after' actions don't affect the data of the object.. then
> they wont affect the actionlogs call.. so it shouldn't matter if they're
> before or after.  Personally.. I prefer to have them as late as possible, so
> after, but that's just a style thing.

I agree - the log should come before the after action hook - as the log is that
state when Koha is done with its work

The after action hook shouldn't change the data, but it seems more stable to
put our log before passing the object, in case something outside does change it
- we can at least record what Koha thinks the object should be

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


More information about the Koha-bugs mailing list