[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)
committerAnja Leichsenring <aleichsenring@ab-softlab.de>
Sat, 15 Dec 2012 13:13:23 +0000 (14:13 +0100)
commitc43c42aa50d3d3b900507e3a34b54359a17c6b2b
tree81be3b8f3ad94c3ef23a6ce97d70baed4143f2a5
parente27fab6470418f3ce64f20be8fb9fb42fd0d4b66
[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: #43450
Change-Id: I067b19769e007578cea406964fc568dcf5727b7a
Reviewed-on: https://review.typo3.org/16855
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
typo3/sysext/extbase/Classes/Core/Bootstrap.php
typo3/sysext/extbase/Tests/Unit/Core/BootstrapTest.php [new file with mode: 0644]