Task #86270

Epic #83968: PSR-11 Initiative

Deprecate config.tx_extbase.objects and plugin.tx_%name%.objects

Added by Benjamin Franzke over 2 years ago. Updated almost 2 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Extbase
Target version:
-
Start date:
2018-09-16
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
9
PHP Version:
Tags:
Complexity:
Sprint Focus:

Description

If we want to introduce a system wide container in v10,
the non deterministic behaviour of object (re)configurations
during runtime in extbase will be a problem.
Compiled containers like symfony DI do not allow runtime
reconfigurations.

Also the concept of per plugin overwrites is broken anyway,
and should therefore be dropped:
The "objects" configured through plugin.tx_%name%.objects
are are never reset, that means:
Plugin A might overwrite an object and plugin B will implictly use
that overriden class, despite not having configured that at all.
(depending on the fact whether plugin A is rendered before or not)


Related issues

Related to TYPO3 Core - Bug #86290: Suggested migration regarding config.tx_extbase.objects does not work for Models mapped using the PropertyMapperClosed2018-09-18

Actions
Related to TYPO3 Core - Bug #76902: Method signature parameters raises a Warning with config.tx_extbase.objects.TYPO3\CMS\Extbase\Persistence\Generic\Mapper\ColumnMap.className = Foo\Bar\ZooClosed2016-07-01

Actions
#1

Updated by Gerrit Code Review over 2 years ago

  • Status changed from New to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/58288

#2

Updated by Gerrit Code Review over 2 years ago

Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/58288

#3

Updated by Gerrit Code Review over 2 years ago

Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/58288

#4

Updated by Gerrit Code Review over 2 years ago

Patch set 4 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/58288

#5

Updated by Benjamin Franzke over 2 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
#6

Updated by Christian Kuhn over 2 years ago

  • Related to Bug #86290: Suggested migration regarding config.tx_extbase.objects does not work for Models mapped using the PropertyMapper added
#7

Updated by Benni Mack over 2 years ago

  • Status changed from Resolved to Closed
#8

Updated by Georg Ringer about 2 years ago

  • Related to Bug #76902: Method signature parameters raises a Warning with config.tx_extbase.objects.TYPO3\CMS\Extbase\Persistence\Generic\Mapper\ColumnMap.className = Foo\Bar\Zoo added
#9

Updated by Benjamin Franzke almost 2 years ago

  • Parent task set to #83968

Also available in: Atom PDF