[TASK] Compatibility to safely deprecate f:case "default" argument 31/46431/9
authorClaus Due <claus@namelesscoder.net>
Mon, 1 Feb 2016 15:00:28 +0000 (16:00 +0100)
committerXavier Perseguers <xavier@typo3.org>
Wed, 3 Feb 2016 14:59:02 +0000 (15:59 +0100)
commit5d4f4a3ae1c2161662e10665ab90af71988c8534
tree3150dbae9d39d8f68b9f15e4d07a464aac5c754a
parentb5b0df56711d13df6cd2ac7bf5238cb89c355c28
[TASK] Compatibility to safely deprecate f:case "default" argument

A compatibility layer can be left in place to support "default" used
on f:case. Internally the compatibility ViewHelper changes the class
name used in the ViewHelperNode which gets reflected in the compiled
template as well as the uncompiled rendering.

ReflectionProperty had to be used since no public API exists for
manipulating ViewHelperNodes in this way.

Change-Id: I80c5c8787f6e88f37dfe129ea1844c4421f77d19
Resolves: #73068
Releases: master
Reviewed-on: https://review.typo3.org/46431
Reviewed-by: Daniel Goerz <ervaude@gmail.com>
Tested-by: Daniel Goerz <ervaude@gmail.com>
Reviewed-by: Xavier Perseguers <xavier@typo3.org>
Tested-by: Xavier Perseguers <xavier@typo3.org>
typo3/sysext/core/Documentation/Changelog/master/Breaking-69863-ChangesInViewHelpersPostFluidStandalone.rst
typo3/sysext/core/Documentation/Changelog/master/Deprecation-73068-DeprecatedDefaultArgumentOnFcase.rst [new file with mode: 0644]
typo3/sysext/fluid/Classes/ViewHelpers/CaseViewHelper.php [new file with mode: 0644]