Issue Task Closed

#87506 Previous Feature: #79402 - New Fluid ViewHelper f:variable added -> Exception

Forger Service 01/21/19, 13:23 updated 04/19/19, 20:46

Description

Dear TYPO3-Team,
thanks for introducing an easy variable set command in TYPO3 9. Unfortunately the inline-command leads to an exception:
{myoriginalvariable -> f:variable.set(name: ‘mynewvariable’)}

> The ViewHelper “<f:variable>“ could not be resolved.</f:variable>

To be shure I also tested by using the example code on https://docs.typo3.org/typo3cms/extensions/core/Changelog/8.6/Feature-79402-VariableViewHelperForFluid.html

Additional question on usage: Is it possible to change values in a TYPO3-arrays e.g. FSC Image.html:
`{gallery.position.horizontal -> f:variable.set(name: ‘somethingelse’)}`

This did not work:
`<f:variable name="gallery.position.horizontal" value="test"></f:variable>`

Thanks for you work.

This issue was automatically created from https://github.com/TYPO3/TYPO3.CMS/pull/159

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.