[BUGFIX] Followup Fluid Template Fallback paths 03/24903/24
authorAnja Leichsenring <aleichsenring@ab-softlab.de>
Mon, 25 Nov 2013 23:32:39 +0000 (00:32 +0100)
committerMarc Bastian Heinrichs <typo3@mbh-software.de>
Fri, 13 Dec 2013 09:10:55 +0000 (10:10 +0100)
commit77fd61d1efdb9dc8ace8b42ad0dd3d135ab8d671
treef89cc4e79aa8ffd7fa788b8289f9d94b8e16cd09
parentf47faedaecbcfd7d2edbc9013d6fa528c982fcd2
[BUGFIX] Followup Fluid Template Fallback paths

In the previously merged patch are some glitches and a regression:
- The usage (and test for existence) of deprecated functions has been
  removed.
- The value passed by the old behaviour is now considered last place
  in the array providing the lookup paths
- The typo preventing usage setLayoutPaths() has been removed.

Intended usage:
plugin.tx_a.view.templateRootPaths {
default = <some default path>
extendedA = <some additional path>
}
The array gets reversed and the first hit will be used as template.
In case only numeric indizes are used, the entries get ordered.
See unit tests for a more specific description.

Change-Id: If4fa75347614cf9b352c6016430a928833cc62cd
Resolves: #52971
Documentation: #52761
Releases: 6.2
Reviewed-on: https://review.typo3.org/24903
Reviewed-by: Alexander Stehlik
Tested-by: Alexander Stehlik
Reviewed-by: Marc Bastian Heinrichs
Tested-by: Marc Bastian Heinrichs
typo3/sysext/extbase/Classes/Mvc/Controller/ActionController.php
typo3/sysext/extbase/Classes/Utility/ArrayUtility.php
typo3/sysext/extbase/Classes/Utility/ExtensionUtility.php
typo3/sysext/extbase/Tests/Unit/Mvc/Controller/ActionControllerTest.php
typo3/sysext/extbase/Tests/Unit/Utility/ArrayUtilityTest.php
typo3/sysext/extbase/Tests/Unit/Utility/ExtensionUtilityTest.php