View Issue Details

IDProjectCategoryView StatusLast Update
0006813OXID eShop (all versions)2.3. Extensions (modules, themes)public2024-07-10 15:27
Reporter[email protected] Assigned To 
PrioritylowSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Product Version4.10.7 / 5.3.7 
Fixed in Version6.0.0 
Summary0006813: oxModuleInstaller::_filterModuleArray() compares path with id
DescriptionThe problem appears for modules with an ID that doesn't match the pattern „vendor prefix + module root directory name“ (as recommended in the OXID Docs).
For these modules the function _filterModuleArray() which will be triggered in _removeNotUsedExtensions() doesn't work as expected. By mistake in the function the module path will be compared with the module id. Because of that the extensions won't be removed properly.

If you change the second parameter from „$oModule->getId()“ to „$oModule->getModulePath()“ in line 535, the extensions of these modules will be removed as expected.
TagsModule, Solution Provided
ThemeNot defined
BrowserNot defined
PHP VersionNot defined
Database VersionNot defined

Activities

QA

2018-03-29 16:21

administrator   ~0012431

Thank you for your report, but provided information in bugtracker always has to be in english. Please translate your issue report.

[email protected]

2018-03-29 16:38

reporter   ~0012432

The problem appears for modules with an ID that doesn't match the pattern „vendor prefix + module root directory name“ (as recommended in the OXID Docs).
For these modules the function _filterModuleArray() which will be triggered in _removeNotUsedExtensions() doesn't work as expected. By mistake in the function the module path will be compared with the module id. Because of that the extensions won't be removed properly.

If you change the second parameter from „$oModule->getId()“ to „$oModule->getModulePath()“ in line 535, the extensions of these modules will be removed as expected.

QA

2018-04-03 09:56

administrator   ~0012433

I've updated the information directly in the description of the issue. Also updated "summary".

QA

2018-04-04 11:05

administrator   ~0012434

In OXID eShop 6 it's ModuleExtensionsCleaner::cleanExtensions() which calls the Method filterExtensionsByModuleId().