View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0005077 | OXID eShop (all versions) | 2.3. Extensions (modules, themes) | public | 2013-04-18 14:18 | 2013-04-29 17:03 |
Reporter | ray | Assigned To | |||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | duplicate | ||
Product Version | 4.7.4 / 5.0.4 revision 57063 | ||||
Summary | 0005077: module shows deactivated if extending one class with are an array ov several files | ||||
Description | If extending one class with several files, it works when using an array like this: 'extend' => array( 'shopclass' => array('path/to/my/file_1', 'path/to/my/file_2', 'path/to/my/file_3') ), or this: 'extend' => array( 'shopclass' => 'path/to/my/file_1' .'&path/to/my/file_2' .'&path/to/my/file_3' ), But in the modules list this module does not show "active" - even though it is, and all three extensions work. | ||||
Additional Information | There is an "workaround-module" from Shoptimax extending oxmodule which resolves this behaviour. File attached. | ||||
Tags | No tags attached. | ||||
Attached Files | |||||
Theme | Both | ||||
Browser | All | ||||
PHP Version | any | ||||
Database Version | any | ||||
duplicate of | 0004424 | resolved | mantas.vaitkunas | There should be possibility to extend same class more than one time in one module. |
|
Thank you very much for reporting the issue. However, this functionality is not supported in shop, and we don't see why it would be necessary. If you could elaborate on the matter, what you are trying to achieve, or why this exact implementation is required, it might be worthwhile to add the functionality for it in future releases. Currently, if you want to extend same class several times, you can do so in a single file. |
|
Actually this functionality exists, extending one class with several files in an array is working. The only problem is, that this module is not shown as "active" in modules list. Certain cases make it necessary to extend the same class with several files within the same module. For example to avoid dublicate code and keep the shop lean and slim. |