View Issue Details

IDProjectCategoryView StatusLast Update
0006261OXID eShop (all versions)2.3. Extensions (modules, themes)public2023-12-13 09:18
Reportera4p ASD Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionduplicate 
Product Version4.9.6 / 5.2.6 
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

Relationships

duplicate of 0005925 assignedSvenBrunk Template Blocks are not cleared when deactivating module 

Activities

There are no notes attached to this issue.