Skip to content
Snippets Groups Projects
Commit d30ba9cf authored by Christian Kuhn's avatar Christian Kuhn
Browse files

[TASK] Avoid ObjectManager in ext:extbase

This finishes removal of regular extbase ObjectManager
usages throughout the core: All left over places are
fallback situations if extensions don't provide proper
service definitions.

Most places are casual replacements, many of them have
been prepared with previous patches. Some places like
Query and QueryResult still need special handling: The
patch introduces some 'ForwardCompatible' interfaces
implemented by core to otherwise OM-fallback if extensions
didn't catch up yet. This avoids expensive runtime
reflection in potentially often-called areas.

When this patch is merged, a final patch can be done,
including a ReST with some dedicated transition tips
and the ultimate ObjectManager deprecation.

Resolves: #94451
Related: #90803
Related: #92238
Releases: master
Change-Id: Ic53f3bf6a04d15052680a953c76d19182a2e5e87
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/69676


Tested-by: default avatarcore-ci <typo3@b13.com>
Tested-by: default avatarBenni Mack <benni@typo3.org>
Tested-by: default avatarJochen <rothjochen@gmail.com>
Tested-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: default avatarBenni Mack <benni@typo3.org>
Reviewed-by: default avatarJochen <rothjochen@gmail.com>
Reviewed-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
parent 129452ff
Branches
Tags
No related merge requests found
Showing
with 256 additions and 308 deletions
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