Open svenoe opened 1 week ago
Addition: Motivated by recent observations, I have the suspicion that the referenced problem also affects subs which are overwritten via Kernel/Autoload/
modules.
Addition: Motivated by recent observations, I have the suspicion that the referenced problem also affects subs which are overwritten via
Kernel/Autoload/
modules.
(Which would mean that it might not (only) be Module::Refresh after all.)
Here is my preliminary analysis for a system that has Kernel::Language installed in the Custom folder.Please take it with a grain of salt.
When (de)installing a package which brings
Custom/Kernel/Language.pm
, OTOBO will run into a server error until container/apache/... restart. The error occurs at the first instance where in a new requestTranslatable()
which is imported viause Kernel::Language qw(Translatable)
is called, with the process complaining about an undefined function. @bschmalhofer had a more detailed look, to my understanding Module::Refresh removes the somewhere cached method, whenCustom/Kernel/Language.pm
is added or removed. This does not affect many other modules,Kernel/System/VariableCheck.pm
would come to my mind, but it should be solved nonetheless.