Bug #59255
closedSwitch ViewHelper breaks with a NULL value
100%
Description
The f:switch ViewHelper breaks with Fluid error No value found for key "TYPO3\CMS\Fluid\ViewHelpers\SwitchViewHelper->switchExpression", thus the key cannot be removed.
for a NULL
value. A possible solution is to serialize the value before storing it in the ViewHelper variable container.
Updated by Gerrit Code Review almost 11 years ago
- Status changed from New to Under Review
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/30804
Updated by Alexander Opitz over 10 years ago
- Project changed from 2559 to TYPO3 Core
- Category set to Fluid
- TYPO3 Version set to 6.2
- Is Regression set to No
Updated by Gerrit Code Review over 10 years ago
Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/30804
Updated by Gerrit Code Review over 10 years ago
Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/30804
Updated by Gerrit Code Review over 10 years ago
Patch set 1 for branch TYPO3_6-2 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/35431
Updated by Björn Fromme over 10 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 197a810b6a7db41717f30c0d8101c3e0181690fc.
Updated by Anja Leichsenring over 10 years ago
- Status changed from Resolved to New
The proposed solution of serialzing the expression was rejected by the strategy team. This issue is therefor reopened.
Updated by Gerrit Code Review almost 10 years ago
- Status changed from New to Under Review
Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/42133
Updated by Gerrit Code Review almost 10 years ago
Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/42133
Updated by Gerrit Code Review almost 10 years ago
Patch set 4 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/42133
Updated by Andreas Treichel almost 10 years ago
- Status changed from Under Review to Resolved
Applied in changeset 7a63ad91a8dc4a721b658fb641db3237da22419b.
Updated by DMK E-BUSINESS GmbH over 8 years ago
I'm a little bit confused. I don't see the changes from the last changeset in the current core (checked 6.2.30 and the master branch). The method ViewHelperVariableContainer::exists should be fixed but is still like that:
return isset($this->objects[$viewHelperName][$key]);
Do I miss something?