Commit 8d41fb26 authored by Morton Jonuschat's avatar Morton Jonuschat Committed by Andreas Fernandez
Browse files

[TASK] Document DI happening before initializeObject()

Changes in the execution of dependency injection and object
initialization have been documented as an important change.

Resolves: #67401
Related: #67274
Related: #67272
Related: #66473
Releases: master
Change-Id: Iab0cb89d7ed77ceaeafb1f87b19b750f73f45eda

Reviewed-by: Mathias Brodala's avatarMathias Brodala <>
Tested-by: Mathias Brodala's avatarMathias Brodala <>
Reviewed-by: Christian Kuhn's avatarChristian Kuhn <>
Tested-by: Christian Kuhn's avatarChristian Kuhn <>
Reviewed-by: Andreas Fernandez's avatarAndreas Fernandez <>
Tested-by: Andreas Fernandez's avatarAndreas Fernandez <>
parent e05f0f1f
Important: #67401 - Dependency Injection is now done before initializeObject()
Formerly ``initializeObject()`` was called before the dependencies were injected. This behavior didn't match the documentation_.
With TYPO3 CMS 7.3 this has been changed. Dependency injection using ``@inject`` annotations and ``inject*()`` methods is now performed **before** calling ``initializeObject()``.
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.
.. _documentation:
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment