Authority counterpart for bug 22709 on biblio and item records
Created attachment 125409 [details] [review] Bug 27173: Add plugin hooks for authority record changes 2021-09-28 Updated version Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Created attachment 125410 [details] [review] Bug 27173: Add tests Test plan: Run t/db_dependent/Koha/Plugins/authority_hooks.t Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Created attachment 125411 [details] [review] Bug 27173: Add plugin hooks for authority record changes 2021-09-28 Updated version Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Created attachment 125412 [details] [review] Bug 27173: Add tests Test plan: Run t/db_dependent/Koha/Plugins/authority_hooks.t
Created attachment 125715 [details] [review] Bug 27173: Add plugin hooks for authority record changes 2021-09-28 Updated version Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> Signed-off-by: David Nind <david@davidnind.com>
Created attachment 125716 [details] [review] Bug 27173: Add tests Test plan: Run t/db_dependent/Koha/Plugins/authority_hooks.t Signed-off-by: David Nind <david@davidnind.com>
Testing notes (koha-testing-docker): - Test plan was to apply patch and run tests - Hopefully that is sufficient
(In reply to David Nind from comment #7) > Testing notes (koha-testing-docker): > > - Test plan was to apply patch and run tests > - Hopefully that is sufficient Thanks David. The test script proves that a plugin on top of this action works. Which is sufficient. We have been running a plugin based on this action for a year now in production. It copies the CREATE UPDATE DELETE actions to an external system where we try to reconcile authorities from several subsystems.
Please remember to update https://wiki.koha-community.org/wiki/Koha_Plugin_Hooks :)
Created attachment 126307 [details] [review] Bug 27173: Add plugin hooks for authority record changes 2021-09-28 Updated version Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Created attachment 126308 [details] [review] Bug 27173: Add tests Test plan: Run t/db_dependent/Koha/Plugins/authority_hooks.t Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Well tested, QA scripts happy, all works as expected. Passing QA
Please add it to the wiki page: https://wiki.koha-community.org/wiki/Koha_Plugin_Hooks
Pushed to master for 21.11, thanks to everybody involved!
(In reply to Jonathan Druart from comment #13) > Please add it to the wiki page: > https://wiki.koha-community.org/wiki/Koha_Plugin_Hooks Done
Pushed to 21.05.x for 21.05.05
Backported for plugins compatibility
Pushed to 20.11.x for 20.11.12 Also backported for plugins compatibility
Not backported to oldoldstable (20.05.x). Feel free to ask if it's needed.