Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • C CMS
  • Project information
    • Project information
    • Activity
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Graph
    • Compare
    • Locked Files
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Activity
  • Graph
  • Jobs
  • Commits
Collapse sidebar
  • typo3typo3
  • CI
  • CMS
  • Repository
Switch branch/tag
  • cms
  • ..
  • Controller
  • ActionController.php
Find file BlameHistoryPermalink
  • Christian Kuhn's avatar
    [TASK] Avoid ObjectManager in ext:extbase · d30ba9cf
    Christian Kuhn authored Jun 30, 2021
    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: core-ci's avatarcore-ci <typo3@b13.com>
    Tested-by: Benni Mack's avatarBenni Mack <benni@typo3.org>
    Tested-by: Jochen's avatarJochen <rothjochen@gmail.com>
    Tested-by: Christian Kuhn's avatarChristian Kuhn <lolli@schwarzbu.ch>
    Reviewed-by: Benni Mack's avatarBenni Mack <benni@typo3.org>
    Reviewed-by: Jochen's avatarJochen <rothjochen@gmail.com>
    Reviewed-by: Christian Kuhn's avatarChristian Kuhn <lolli@schwarzbu.ch>
    d30ba9cf