View Issue Details

IDProjectCategoryView StatusLast Update
0005925OXID eShop (all versions)2.3. Extensions (modules, themes)public2019-09-19 10:58
Reporterleofonic 
PrioritynormalSeveritymajorReproducibilityalways
Status acknowledgedResolutionopen 
Product Version4.9.0 / 5.2.0 
Target VersionFixed in Version 
Summary0005925: Template Blocks are not cleared when deactivating module
DescriptionIf you have a module with template blocks and deactivate the module, template blocks are still active until /tmp is emptied manually.
Steps To ReproduceTo reproduce install attached module, activate and deactivate.
Additional InformationReason is in oxmoduleinstaller::deactivate, template blocks are deleted from database. After this module cache is cleared, but because template blocks have already been deleted, no cache files to delete are found. If the order is reversed and template cache is cleared first, the error is gone.
TagsTemplate Blocks
ThemeAzure
BrowserAll
PHP VersionNot defined
MySQL VersionNot defined

Relationships

related to 0005976 acknowledged Deactivation of theme switch module destroys shop 

Activities

leofonic

2014-10-22 12:40

reporter  

testblocks.zip (1,507 bytes)

dominik_ziegler

2019-09-19 09:35

reporter   ~0013005

Also, when re-activating a module which got deactivated automatically due to module errors, template blocks in database table oxtplblocks gets duplicated (they are inserted again), because they are not removed on auto deactivation or on re-activating via backend. This gets really annoying in module development.

QA

2019-09-19 10:58

administrator   ~0013006

Hello dominik_ziegler,

there is already another issue entry regarding your described behavior:
https://bugs.oxid-esales.com/view.php?id=6261

[sp]