Koha-clms/t/lib/plugins/Koha/Plugin
Martin Renvoize 1571fd489c
Bug 40983: Complete deprecation of old after_biblio_action hook signature
This patch completes the deprecation cycle started in bug 36343 by
removing the backward compatibility code and deprecation warnings for
the old after_biblio_action hook signature.

Changes made:
1. Removed the duplicate biblio and biblio_id parameters from
   _after_biblio_action_hooks in C4::Biblio that were marked for
   deprecation in 24.11.00
2. Updated the test plugin to use only the new payload-based signature,
   ensuring all parameters are accessed via $params->{payload}

The after_biblio_action hook now consistently uses the modern signature
with a payload parameter, matching the pattern used by other plugin hooks
like before_biblio_action, after_item_action, and after_hold_action.

Test plan:
1. Run: prove t/db_dependent/Koha/Plugins/Biblio_and_Items_plugin_hooks.t
2. Run: prove t/db_dependent/Koha/Plugins/
3. Run: prove t/db_dependent/Biblio.t
4. All tests should pass

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
2025-10-14 14:51:53 -06:00
..
ILL Bug 40163: Fix several http addresses in the code docs 2025-09-23 16:21:29 -06:00
Test Bug 40163: Fix several http addresses in the code docs 2025-09-23 16:21:29 -06:00
1_CalcFineEmpty.pm Bug 39405: Add more plugin examples to build tests 2025-04-25 08:46:48 +02:00
2_CalcFineNotEmpty.pm Bug 39405: Add more plugin examples to build tests 2025-04-25 08:46:48 +02:00
3_CalcFineBadValue.pm Bug 39405: Add more plugin examples to build tests 2025-04-25 08:46:48 +02:00
BackendClass.pm Bug 39092: Unit tests 2025-04-25 18:34:50 +02:00
BadAPIRoute.pm Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
MarcFieldValues.pm Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
Test.pm Bug 40983: Complete deprecation of old after_biblio_action hook signature 2025-10-14 14:51:53 -06:00
TestItemBarcodeTransform.pm Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00