Fix breaking interaction of Exporter and Module::Refresh, leading to internal server errors after adding/removing certain modules (e.g. Kernel/Language) during package (de)installation. #3762
Labels
bug
Something isn't working as intended
Milestone
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.The text was updated successfully, but these errors were encountered: