View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0006261 | OXID eShop (all versions) | 2.3. Extensions (modules, themes) | public | 2015-11-11 13:21 | 2023-12-13 09:18 |
Reporter | a4p ASD | Assigned To | |||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | duplicate | ||
Product Version | 4.9.6 / 5.2.6 | ||||
Summary | 0006261: entries in oxtplblocks are duplicated, when module gets deactivated from oxid | ||||
Description | entries 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 Information | SQL 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 ) | ||||
Tags | No tags attached. | ||||
Theme | Not defined | ||||
Browser | Not defined | ||||
PHP Version | Not defined | ||||
Database Version | Not defined | ||||