View Issue Details

IDProjectCategoryView StatusLast Update
0002592OXID eShop (all versions)4. ------ eShop Core -------public2012-12-10 13:42
Reporterlaluelala2 Assigned To 
PriorityurgentSeveritymajorReproducibilityalways
Status closedResolutionwon't fix 
Product Version4.4.6 revision 32697 
Summary0002592: Class inheritance does not work properly for module classes
DescriptionFor better explanation have a look at steps for reproducability.
Steps To ReproduceAssume 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.
TagsNo tags attached.
Theme
BrowserAll
PHP Versionany
Database Versionany

Activities

dainius.bigelis

2011-03-09 15:34

reporter   ~0004208

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,