Bug #11039

Static object container injects properties to result of factory object

Added by Christopher Hlubek over 2 years ago. Updated about 1 year ago.

Status:Needs Feedback Start date:2010-11-24
Priority:Must have Due date:
Assignee:- % Done:

0%

Category:-
Target version:-
PHP Version: Complexity:
Has patch:No FLOW3 version affected:FLOW3 1.0.0
Votes: 0

Description

If a factoryObjectName is set for an object, the dependencies of the default implementation are injected to the result of the factory anyway (the factory already returns a complete object). A workaround is to set the className to an implementation that doesn't have dependencies.

If a factoryObjectName is configured, there should be no further injection on the result because the type is unknown beforehand.

History

Updated by Karsten Dambekalns over 1 year ago

  • FLOW3 version affected set to FLOW3 1.0.0

Updated by Christian Mueller about 1 year ago

  • Status changed from New to Needs Feedback
  • Has patch set to No

Christopher, do you think this is still valid, I did not do an in-deep debugging but looking at current master code, I cannot see that this still happens. If not the ticket should be closed.

Also available in: Atom PDF