View Issue Details

IDProjectCategoryView StatusLast Update
0004003OXID eShop (all versions)2. ----- eShop backend (admin) -----public2012-05-28 09:01
ReporterWBL_BjoernLange Assigned To 
PriorityhighSeveritymajorReproducibilityalways
Status resolvedResolutionno change required 
Product Version4.6.0 revision 44406 
Fixed in Version4.6.1 revision 45706 
Summary0004003: Deactivation of modules does not seem to work correctly
DescriptionIf you enable and disable a Module in the Shop-Backend, the Extended module files are still a part of the module chain in config var "aModules", even when the Module seems to be disabled.

Module_Main::activateModule -> oxModule::activate() saves the module chain in oxConfig::setConfigParam('aModules', $aModules);. But oxModule::deactivate() in Module_Main::deactivateModule() changes only the Tpl-Blocks and the config array "aDisabledModules".
TagsNo tags attached.
ThemeBoth
BrowserAll
PHP Versionany
Database Versionany

Activities

vaidas.matulevicius

2012-05-17 14:57

reporter   ~0006625

This behavior is correct. Deactivated modules should not be removed from aModules array. So you can in Installed modules list which modules are deactivated. There is additional check which checks if module is active and only then it extends core classes.

WBL_BjoernLange

2012-05-25 15:20

reporter   ~0006682

Last edited: 2012-05-25 15:29

Sry, please close it again. I see the check in oxUtilsObject::_getActiveModuleChain, than this is a sideeffect i have no more insights of yet.