[Koha-bugs] [Bug 36343] New: The 'after_biblio_action' hooks have an inconsistent signature compared to before_biblio_action, and actions in reserves and items
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Mon Mar 18 14:29:59 CET 2024
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36343
Bug ID: 36343
Summary: The 'after_biblio_action' hooks have an inconsistent
signature compared to before_biblio_action, and
actions in reserves and items
Change sponsored?: ---
Product: Koha
Version: master
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: P5 - low
Component: Plugin architecture
Assignee: koha-bugs at lists.koha-community.org
Reporter: martin.renvoize at ptfs-europe.com
QA Contact: testopia at bugs.koha-community.org
Our hooks should attempt to have a consistent routine signature whenever that
can.. unfortunately, we've not been very good at spotting when patterns change.
Whilst QAing bug 34943 we discovered an inconsistency in the hook signatures
again.
'payload' vs no-payload.
I propose we add support for 'payload' to the _after_biblio_action hook and set
a deprecation period for the older signature style.
--
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
More information about the Koha-bugs
mailing list