[BUGFIX] Enable CheckboxViewHelper binding to ArrayObject and Null 84/21184/2
authorAlexander Schnitzler <alex.schnitzler@typovision.de>
Sat, 1 Jun 2013 09:56:21 +0000 (11:56 +0200)
committerAnja Leichsenring <aleichsenring@ab-softlab.de>
Tue, 4 Jun 2013 19:00:14 +0000 (21:00 +0200)
commit5ffb7339673117efa22d3d18729f971ddf4784df
tree1b2ecf7c791b2e9ecb8c8b905da72825295fbddd
parent7a0a522499ddad0eb6f9e08b668a22dc7d81eb71
[BUGFIX] Enable CheckboxViewHelper binding to ArrayObject and Null

Currently the checkbox view helper relies on a present
form object which is not necessary any longer since 6.1
as the new property mapper is active by default.

Therefore the viewhelper must be adjusted to be able to
be bound to ArrayObject objects or Null which throws an
exception till now.

Releases: 6.2, 6.1
Resolves: #48628
Change-Id: I35b70fb0a09ddd72da1c64ec5c7c5456e9af9471
Reviewed-on: https://review.typo3.org/21184
Tested-by: Adrian Dymorz
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
typo3/sysext/fluid/Classes/ViewHelpers/Form/CheckboxViewHelper.php
typo3/sysext/fluid/Tests/Unit/ViewHelpers/Form/CheckboxViewHelperTest.php