View Issue Details

IDProjectCategoryView StatusLast Update
0006261OXID eShop (all versions)2.3. Extensions (modules, themes)public2015-11-13 09:57
Reportera4p ASD 
Status acknowledgedResolutionopen 
Product Version4.9.6 / 5.2.6 
Target VersionFixed in Version 
Summary0006261: entries in oxtplblocks are duplicated, when module gets deactivated from oxid
Descriptionentries in oxtplblocks are duplicated, when module gets deactivated from oxid. This is probably caused by the "module auto deactivation" (config: blDoNotDisableModuleOnError) from oxid.
Steps To Reproduce- create a module with blocks
- activate module
- make changes in "extend" of the metadata.php - add a new class to extend
-> module gets deactivated from oxid
- activate module
-> double entries in oxtplblocks for all blocks of this module
Additional InformationSQL to detect double entries:

SELECT * FROM `oxtplblocks` oxtpl1 WHERE exists ( SELECT * FROM oxtplblocks oxtpl2 WHERE oxtpl1.oxshopid = oxtpl2.oxshopid and oxtpl1.oxtemplate = oxtpl2.oxtemplate and oxtpl1.oxblockname = oxtpl2.oxblockname and oxtpl1.oxfile = oxtpl2.oxfile and oxtpl1.oxmodule = oxtpl2.oxmodule and not oxtpl1.oxid = oxtpl2.oxid )
TagsNo tags attached.
ThemeNot defined
BrowserNot defined
PHP VersionNot defined
Database VersionNot defined


There are no notes attached to this issue.