Koha-clms/C4/ClassSplitRoutine
Martin Renvoize 9474e9e359
Bug 30233: (follow-up) Log a warning when _apply_substitution discards a bad pattern
When eval { qr/$pattern/ } fails (e.g. the admin-configured s/// contains
an invalid regex), _apply_substitution previously returned silently with no
indication of why the rule was skipped. Add a Koha::Logger warn so the
failure appears in the log and is diagnosable without a debugger.

Signed-off-by: Martin Renvoize <martin.renvoize@openfifth.co.uk>
Signed-off-by: Baptiste Wojtkowski <baptiste.wojtkowski@biblibre.com>
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
Signed-off-by: Wainui Witika-Park <wainuiwitikapark@catalyst.net.nz>
2026-07-30 15:54:03 +12:00
..
Dewey.pm Bug 40163: Fix several http addresses in the code docs 2026-01-07 14:32:30 +00:00
Generic.pm Bug 40163: Fix several http addresses in the code docs 2026-01-07 14:32:30 +00:00
LCC.pm Bug 40163: Fix several http addresses in the code docs 2026-01-07 14:32:30 +00:00
RegEx.pm Bug 30233: (follow-up) Log a warning when _apply_substitution discards a bad pattern 2026-07-30 15:54:03 +12:00