View Issue Details

IDProjectCategoryView StatusLast Update
0005688OXID eShop (all versions)2.3. Extensions (modules, themes)public2023-12-20 15:35
Reporterleofonic Assigned To 
PrioritynormalSeveritymajorReproducibilityalways
Status assignedResolutionopen 
Product Version4.8.4 / 5.1.4 
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.
Attached Files
testvendor.zip (2,454 bytes)
ThemeNot defined
BrowserAll
PHP VersionNot defined
Database VersionNot defined

Activities

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.