Bug #53180

InjectSettings doesnt work on inheritance (Level 2)

Added by Carsten no-lastname-given almost 2 years ago. Updated over 1 year ago.

Status:New Start date:2013-10-28
Priority:Must have Due date:
Assigned To:- % Done:

0%

Category:Build Process
Target version:-
Affected Flow version:Flow 2.0.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 over 1 year ago

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

Also available in: Atom PDF