Bug #11039
Static object container injects properties to result of factory object
Status: | Needs Feedback | Start date: | 2010-11-24 | |
---|---|---|---|---|
Priority: | Must have | Due date: | ||
Assigned To: | - | % Done: | 0% |
|
Category: | - | |||
Target version: | - | |||
PHP Version: | Complexity: | |||
Has patch: | No | Affected Flow version: | FLOW3 1.0.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
#1 Updated by Karsten Dambekalns almost 4 years ago
- Affected Flow version set to FLOW3 1.0.0
#2 Updated by Christian Müller over 3 years 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.