Univention Bugzilla – Bug 54811
[Kelvin] Format hooks are not executed
Last modified: 2022-06-01 07:26:41 CEST
When using a format hook in Kelvin it is loaded, but never seems to run (no debug statements and even no exceptions seem to be raised). To test this I copied to FormatPyHook from the Kelvin Unittests: https://git.knut.univention.de/univention/ucsschool/-/blob/feature/kelvin/kelvin-api/tests/test_pyhook.py#L67 The hook is loaded ("Loaded hooks: {'patch_fields_staff': ['CamelCaseLastnameFormatPyHook.patch_fields_staff'], ..."), but nothing changes and my guess is that the "patch_" methods are not evaluated in any way.