View Issue Details

IDProjectCategoryView StatusLast Update
0006342OXID eShop (all versions)2.3. Extensions (modules, themes)public2016-04-06 08:58
Reporterkeywan.ghadami Assigned To 
PrioritynormalSeveritytweakReproducibilityhave not tried
Status resolvedResolutionfixed 
Target Version6.0.0-beta.1Fixed in Version6.0.0-beta.1 
Summary0006342: shop expects module to be in a folder named like the moduleid
DescriptionAt some places in the module logic it is expects that modules are installed in a folder named like the module id.

There are some modules out there including the NOT using the moduleid defined in the metadata.php as directory name e.g. the bundled paymorrow module.

This causes some effects when updating modules where extensions have changed since the last version. The shop is then not able to recognize that the old extensions belonging to the specific module. Which may cause a corrupted extension configuration and so may cause bad side effects.
 
Additional Informationfound that type of code ("$sModuleId .") in
- oxmoduleinstaller method _filterModuleArray
- oxmodulelist method getDeletedExtensions

not sure how bad this issue is but i guess most effects are temporary and can be solved by "module internals" or disabling and enabling that module again. But this issue could have bad side effects in automated deployments where people using tools like the Oxid Console fix:states command, that will not be able to fix this kind of problems because the oxid console itself reuses that core logic. Then i do not know if the shop may deactivate that module or other strange things may happen.
TagsNo tags attached.
ThemeNot defined
BrowserNot defined
PHP VersionNot defined
Database VersionNot defined

Activities

keywan.ghadami

2016-03-01 14:08

reporter   ~0011483

i fixed the most interesting place for me at oxmoduleinstaller in

pull request for oxid 6
https://github.com/OXID-eSales/oxideshop_ce/pull/332

pull request for oxid 5.3
https://github.com/OXID-eSales/oxideshop_ce/pull/333

aurimas.gladutis

2016-04-06 08:58

reporter   ~0011518

Accepted pull request to master.