Project

General

Profile

Actions

Bug #59255

closed

Switch ViewHelper breaks with a NULL value

Added by Björn Fromme over 10 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Fluid
Target version:
-
Start date:
2014-06-01
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
6.2
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

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.


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #63844: Broken unit tests after serialze switch viewhelper expressionClosedAnja Leichsenring2014-12-14

Actions
Actions #1

Updated by Gerrit Code Review over 10 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

Actions #2

Updated by Alexander Opitz about 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
Actions #3

Updated by Gerrit Code Review almost 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

Actions #4

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/30804

Actions #5

Updated by Gerrit Code Review almost 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

Actions #6

Updated by Björn Fromme almost 10 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #7

Updated by Anja Leichsenring almost 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.

Actions #8

Updated by Gerrit Code Review over 9 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

Actions #9

Updated by Gerrit Code Review over 9 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

Actions #10

Updated by Gerrit Code Review over 9 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

Actions #11

Updated by Andreas Treichel over 9 years ago

  • Status changed from Under Review to Resolved
Actions #12

Updated by DMK E-BUSINESS GmbH over 7 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?

Actions #13

Updated by Benni Mack about 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF