[!!!][TASK] Remove view related properties from ActionController 14/59514/6
authorAlexander Schnitzler <git@alexanderschnitzler.de>
Mon, 21 Jan 2019 16:13:05 +0000 (17:13 +0100)
committerBenni Mack <benni@typo3.org>
Thu, 31 Jan 2019 06:22:50 +0000 (07:22 +0100)
commite4e01dd4cd8b48730e7b5e4f99f2460772345f6b
treee8bf28e253cf1977a19d9f352fa455bca32e4b7d
parent6c58192db976f7b09c8f15d58869e92c900dc9d8
[!!!][TASK] Remove view related properties from ActionController

Both properties $namespacesViewObjectNamePattern and
$viewFormatToObjectNameMap of class ActionController
have been removed without replacement.

Both properties provided a functionality to set a
custom view object class during runtime. As this
contradicts the idea of having a defined state per
request by configuring concrete implementations
before runtime, these properties needed to vanish.

While there is no dependency injection with a proper
configuration available, the view object class can
still be defined via property $defaultViewObjectName.

Releases: master
Resolves: #87511
Change-Id: I4b89a9434f71a3cbf38a9ad113ba8233e7f327f9
Reviewed-on: https://review.typo3.org/59514
Tested-by: TYPO3com <noreply@typo3.com>
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Reviewed-by: Achim Fritz <af@achimfritz.de>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
typo3/sysext/core/Documentation/Changelog/master/Breaking-87511-RemoveNamespacesViewObjectNamePatternProperty.rst [new file with mode: 0644]
typo3/sysext/core/Documentation/Changelog/master/Breaking-87511-RemoveViewFormatToObjectNameMapProperty.rst [new file with mode: 0644]
typo3/sysext/extbase/Classes/Mvc/Controller/ActionController.php
typo3/sysext/extbase/Tests/Unit/Mvc/Controller/ActionControllerTest.php
typo3/sysext/install/Configuration/ExtensionScanner/Php/PropertyProtectedMatcher.php
typo3/sysext/install/Configuration/ExtensionScanner/Php/PropertyPublicMatcher.php