[FOLLOWUP][TASK] Document DI happening before initializeObject() 13/40213/3
authorMorton Jonuschat <m.jonuschat@mojocode.de>
Fri, 12 Jun 2015 17:00:08 +0000 (19:00 +0200)
committerChristian Kuhn <lolli@schwarzbu.ch>
Sat, 13 Jun 2015 18:54:16 +0000 (20:54 +0200)
Clarify that the changes to dependency injection only affect domain
models retrieved from the database backend.

Resolves: #67401
Related: #67274
Related: #67272
Related: #66473
Releases: master
Change-Id: I04876b77c3ae5d061bae4b6b238d820a7f875740
Reviewed-on: http://review.typo3.org/40213
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Tested-by: Nicole Cordes <typo3@cordes.co>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
typo3/sysext/core/Documentation/Changelog/master/Important-67401-DependencyInjectionIsNowDoneBeforeInitializeObject.rst

index 274bda0..338eeec 100644 (file)
@@ -5,9 +5,9 @@ Important: #67401 - Dependency Injection is now done before initializeObject()
 Description
 ===========
 
-Formerly ``initializeObject()`` was called before the dependencies were injected. This behavior didn't match the documentation_.
+Formerly ``initializeObject()`` was called before the dependencies were injected when retrieving an Extbase Domain Model. This behavior didn't match the documentation_ nor the behavior when using the ``ObjectManager``.
 
-With TYPO3 CMS 7.3 this has been changed. Dependency injection using ``@inject`` annotations and ``inject*()`` methods is now performed **before** calling ``initializeObject()``.
+With TYPO3 CMS 7.3 this has been changed, dependency injection using ``@inject`` annotations and ``inject*()`` methods is now performed **before** calling ``initializeObject()`` when retrieving Domain Models.
 
 This may have impact on extensions that are relying on the reversed call order. In these cases adjustments are required to take into account that the injected objects are available.