Wrong entry in the must_have_modules_list.xml file => error updating modules #22267
Labels
1.7.7.0
Affects versions
BO
Category: Back Office
Bug
Type: Bug
Fixed
Resolution: issue closed because fixed
Module manager
Label: Which BO under menu is concerned
The file must_have_modules_list.xml contains the entry of the module 'id' = 29992, which does not have the field 'name' filled in. Because of this, any module update crashes. Please fix it.
The error is reflected in the class ModuleCore function getModulesOnDisk() where $modaddons->name from the $xml file is not checked.
This calls with an error when calling Module::isModuleTrusted(), which calls Module::checkModuleFromAddonsApi(), which calls Module::getInstanceByName ($ module_name).
There it will be a error.
Please fix it. Thank you.
The text was updated successfully, but these errors were encountered: