« Previous | Next » 

Revision 6eb4d430

Parent 18e8b999
Child 8ad884a8

Added by Bastian Waidelich about 7 years ago

[BUGFIX] Allow ViewHelperVariableContainer to hold NULL values

``ViewHelperVariableContainer::exists()`` checks whether a specified
key is set via ``isset()`` which leads to the behavior NULL can't be
retrieved from the container leading to unexpected exceptions.


<f:switch expression="{expression}" />

Throws an exception if ``{expression}`` evaluates to NULL.

Make sure to use ``ViewHelperVariableContainer::remove()`` to delete
a value from the container.

Change-Id: I8b77238dafba4fd6d1450b94bcc0057d76026ad8
Fixes: FLOW-16
Releases: master, 2.2, 2.1

  • added
  • modified
  • copied
  • renamed
  • deleted