Bug #29486
injectSettings() doesn't receive always the settings of its own package
Status: | Resolved | Start date: | 2011-09-05 | |
---|---|---|---|---|
Priority: | Should have | Due date: | ||
Assigned To: | Robert Lemke | % Done: | 100% |
|
Category: | Object | |||
Target version: | TYPO3 Flow Base Distribution - 1.0 beta 2 | |||
PHP Version: | Complexity: | |||
Has patch: | Affected Flow version: |
Description
injectSettings() should always receive the settings of that package the inject method is declared in. That is, we should derive the package key for the settings from the name of the class containing the injectSettings() method.
Currently this is not the case for settings injection defined in the Objects.yaml and referring to a different class (see related issue).
Related issues
Associated revisions
[BUGFIX] Injected settings are now from the correct package
This fixes a bug caused by the Configuration Builder which resulted
in settings of a wrong package being injected into classes under
certain circumstances.
Change-Id: Id2c26e600efb6ac34733d42cc0e518526e583fee
Resolves: #29486
History
#1 Updated by Mr. Hudson almost 4 years ago
- Status changed from Accepted to Under Review
Patch set 1 of change Id2c26e600efb6ac34733d42cc0e518526e583fee has been pushed to the review server.
It is available at http://review.typo3.org/4774
#2 Updated by Robert Lemke almost 4 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset c850b2a033dcf382bf4607a95af29ecf03b99329.