View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0002592 | OXID eShop (all versions) | 4. ------ eShop Core ------- | public | 2011-03-08 11:59 | 2012-12-10 13:42 |
| Reporter | laluelala2 | Assigned To | |||
| Priority | urgent | Severity | major | Reproducibility | always |
| Status | closed | Resolution | won't fix | ||
| Product Version | 4.4.6 revision 32697 | ||||
| Summary | 0002592: Class inheritance does not work properly for module classes | ||||
| Description | For better explanation have a look at steps for reproducability. | ||||
| Steps To Reproduce | Assume following module entries: register => custom/views/custom_register user => custom/views/custom_user Class custom_register extends custom_register_parent (default OXID module behaviour), same for custom_user. Per default, OXID register view class extends OXID user view class: register -> user It is not possible to access methods in custom_user from custom_register. It seems the inheritance does not work the expected way. I think this is the way OXID inherits the classes: custom_register -> custom_register_parent -> register -> user I think it should be this way: custom_register -> custom_register_parent-> register -> custom_user -> custom_user_parent -> user Therefore methods in custom_user are never accessible in custom_register. | ||||
| Tags | No tags attached. | ||||
| Theme | |||||
| Browser | All | ||||
| PHP Version | any | ||||
| Database Version | any | ||||
|
|
Reminder sent to: laluelala2 Hi, thank you for idea, but your proposed solution will not work: there is no possibility to interpose a class between. Currently we have no idea how to make this working, so it's a good point to discuss in dev-general and ask for possible solutions. Please join the discussion when we'll start the topic (the entry here will be closed up until proper solution will be found) ;) Best regards, |