Bug #53180

InjectSettings doesnt work on inheritance (Level 2)

Added by Carsten no-lastname-given almost 6 years ago. Updated almost 6 years ago.

Status:
New
Priority:
Must have
Assignee:
-
Category:
Build Process
Target version:
-
Start date:
2013-10-28
Due date:
% Done:

0%


Description

abstract foo{
public function injectSettings($settings)...
}

bar extends foo{}

baz extends bar{}

Creating a new Instance with ObjectManager:
Result: baz::settings is NULL.

This is caused by the Proxy Classes.
InjectSettings is skipped on class inheritances over more then 2 levels

History

#1 Updated by Christian Kuhn almost 6 years ago

Confirmed. Also, my initializeObject() of the base class is not called.

Also available in: Atom PDF