View Issue Details

IDProjectCategoryView StatusLast Update
0005688OXID eShop (all versions)2.3. Extensions (modules, themes)public2015-12-01 10:27
Reporterleofonic 
PrioritynormalSeveritymajorReproducibilityalways
Status acknowledgedResolutionopen 
Product Version4.8.4 / 5.1.4 
Target VersionFixed in Version 
Summary0005688: Module order change does nothing
DescriptionIn Backend, module order can be changed and saved, but appearently this does not change inheritance order.
Steps To ReproduceTest modules attached, activate all, try changing module order, changes should be reflected on startpage, but order of execution is always the same.
TagsNo tags attached.
ThemeNot defined
BrowserAll
PHP VersionNot defined
MySQL VersionNot defined

Activities

leofonic

2014-03-08 12:42

reporter  

testvendor.zip (2,454 bytes)

martinwegele

2014-03-10 14:56

reporter   ~0009631

I suppose that this is because the "module chain" is cached in the tmp folder in the file config.*.amodules.txt. Once you delete that file the correct order is displayed.

leofonic

2014-03-11 10:11

reporter   ~0009634

Thank you for the workaround, then i suggest this file should be deleted automatically when module order is changed.

martinwegele

2014-03-11 10:57

reporter   ~0009635

So Module_SortList::save() should at least call oxUtilsObject::getInstance()->resetModuleVars() or oxModule::buildModuleChains() could call oxModule::_resetCache()?

leofonic

2014-03-12 11:48

reporter   ~0009638

Yes something like this, i have not checked in detail. Correct module order is shown right away in backend, so this should be the same with inheritance.