[BUGFIX] Fix dynamic variable name parts in Fluid 41/51841/3
authorHelmut Hummel <typo3@helhum.io>
Fri, 24 Feb 2017 19:23:24 +0000 (20:23 +0100)
committerMorton Jonuschat <m.jonuschat@mojocode.de>
Sun, 26 Feb 2017 06:15:59 +0000 (07:15 +0100)
commitb534440e8bd789a1b1f3e84e2e173262094fa836
tree179b8c9a173fdf369bea55cffccf13e7a7dad82b
parente3ae30689cb1a90b84cb0cdc72f3381ef53cab70
[BUGFIX] Fix dynamic variable name parts in Fluid

The dynamic variable syntax does currently work in Fluid standalone,
but not with the variable provider used for TYPO3 CMS (as promised)

To fix this, we copy the necessary code to the CMS variable provider
as it is only a few lines.

Cover that with tests and apply it in the image cropper UI as one example.

Resolves: #79997
Releases: master
Change-Id: I3a811b0d496b12191d2ccbaa9c07525f4cf8f340
Reviewed-on: https://review.typo3.org/51841
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Anders Kostending <aha@systime.dk>
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
Reviewed-by: Joerg Boesche <typo3@joergboesche.de>
Reviewed-by: Morton Jonuschat <m.jonuschat@mojocode.de>
Tested-by: Morton Jonuschat <m.jonuschat@mojocode.de>
typo3/sysext/backend/Resources/Private/Templates/ImageManipulation/ImageManipulationElement.html
typo3/sysext/fluid/Classes/Core/Variables/CmsVariableProvider.php
typo3/sysext/fluid/Tests/Unit/Core/Variables/CmsVariableProviderTest.php