View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0006489 | OXID eShop (all versions) | 2.3. Extensions (modules, themes) | public | 2016-08-23 10:02 | 2016-08-23 10:20 |
Reporter | Proclane Commerce GmbH | Assigned To | |||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | duplicate | ||
Platform | Linux | OS | Debian | OS Version | 8.5 |
Product Version | 4.10.1 / 5.3.1 | ||||
Summary | 0006489: Modules brokes when class extending-definition is not identical to other modules | ||||
Description | When Module-Keys in every module in extend-Block are not identical written so it happens that the module overloading not work. | ||||
Steps To Reproduce | - create one module with CamelCase overloading definitions like: 'extend' => [ 'Basket' => 'c4s/c4s_core/application/controllers/c4s_core_basket', ] - create one module with lowercase overloading definition like: 'extend' => array( //Überladung von OXID-Controllern 'basket' => 'c4s/c4s_ordercreate/application/controllers/c4s_ordercreate_basket', ), - write (at example) following sourcecode into c4s_core_basket: class c4s_core_basket extends c4s_core_basket_parent{ public function render() { $oConfig = $this->getConfig(); $oBasket = $oConfig->getSession()->getBasket(); $oBasket->setDeliveryAddressId("10"); var_dump($oBasket); return parent::render(); } render-Method of c4s_core_basket will never called on execution of basket-Controller. | ||||
Additional Information | some modules from companies aren't encrypted with zend guard loader or anything else, so it is not possible to change the definition of extended classes. When the Definition is not identical it is not easy to change it. Also when two or more external modules has another definition and are encrypted it is still problematic. | ||||
Tags | No tags attached. | ||||
Attached Files | |||||
Theme | Not defined | ||||
Browser | Not defined | ||||
PHP Version | 5.6 | ||||
Database Version | 5.5 | ||||
duplicate of | 0005687 | assigned | Dariush Ghiass-Fakhri | Module chain is case sensitive |