View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0007121 | OXID eShop (all versions) | 2.3. Extensions (modules, themes) | public | 2020-04-17 12:55 | 2024-07-03 13:35 |
Reporter | KIRATIKdevs | Assigned To | |||
Priority | normal | Severity | major | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
OS | Linux Ubuntu | OS Version | 18.04 | ||
Product Version | 6.2.0 | ||||
Fixed in Version | 7.0.0 | ||||
Summary | 0007121: Event onActivate executes on each SAVE module settings | ||||
Description | I noticed a weird thing… I am testing OXID 6.2.0 EE on local VM and when I am trying to save module settings - click SAVE button in “Extensions > Modules > MY_MODULE > Settings > Save”, then OXID executes “onActivate” event… each time I click on SAVE button. I tested it on local VM (oxvm_base) and on online cloud server. The results are the same. OXID 6.1.5 works OK. | ||||
Steps To Reproduce | I tested it on my custom modules and 'visualcms'. 1. Turn on VisualCMS module 2. Make small change in code only for test purposes. In file "OxidEsales\VisualCmsModule\Core\Events::onActivate" please add: var_dump("onActivate was executed"); die(); 3. Uplod changed file 4. Try to change some module setting in visualcms 5. Click SAVE button | ||||
Tags | No tags attached. | ||||
Theme | Not defined | ||||
Browser | Not defined | ||||
PHP Version | Not defined | ||||
Database Version | Not defined | ||||
|
-MK |
|
Fixed with https://github.com/OXID-eSales/oxideshop_ce/commit/82514f18a3ec4c74033e7c4e6c17c0e056cf4c35 in 7.0.0-rc2 |