View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0006813 | OXID eShop (all versions) | 2.3. Extensions (modules, themes) | public | 2018-03-29 14:33 | 2024-07-10 15:27 |
Reporter | [email protected] | Assigned To | |||
Priority | low | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Product Version | 4.10.7 / 5.3.7 | ||||
Fixed in Version | 6.0.0 | ||||
Summary | 0006813: oxModuleInstaller::_filterModuleArray() compares path with id | ||||
Description | 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. | ||||
Tags | Module, Solution Provided | ||||
Theme | Not defined | ||||
Browser | Not defined | ||||
PHP Version | Not defined | ||||
Database Version | Not defined | ||||
|
Thank you for your report, but provided information in bugtracker always has to be in english. Please translate your issue report. |
|
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. |
|
I've updated the information directly in the description of the issue. Also updated "summary". |
|
In OXID eShop 6 it's ModuleExtensionsCleaner::cleanExtensions() which calls the Method filterExtensionsByModuleId(). |