[FEATURE] Allow different overriding of object mapping per plugin
authorAlexander Schnitzler <alex.schnitzler@typovision.de>
Thu, 29 Nov 2012 14:05:36 +0000 (15:05 +0100)
committerChristian Kuhn <lolli@schwarzbu.ch>
Fri, 8 Feb 2013 18:11:25 +0000 (19:11 +0100)
commitf632a00a3a3569097f23391c162352e0bf161300
treefa96a153473d6dd34aeb9545c770c856203588fe
parentff8411aedada8ba8c2c6f84eeed8210daa4b4aab
[FEATURE] Allow different overriding of object mapping per plugin

Currently the ObjectContainer has an array with a mapping of
class names to actual classes which allows the replacement
of objects via DI.

This mapping is set during the bootstrap process and uses the
typoscript settings in config.tx_extbase.objects which is too
strict. To be able to ovverride these settings for each plugin
extbase has to use 'CONFIGURATION_TYPE_FRAMEWORK' settings
instead of 'CONFIGURATION_TYPE_FULL_TYPOSCRIPT' settings.

Releases: 6.1
Resolves: #44796
Change-Id: I5d6ea135f5bec586073da3394f0ba8e0197020b7
Reviewed-on: https://review.typo3.org/17696
Reviewed-by: Mattias Nilsson
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
typo3/sysext/extbase/Classes/Core/Bootstrap.php
typo3/sysext/extbase/Tests/Unit/Core/BootstrapTest.php [new file with mode: 0644]