[BUGFIX] Evaluate select multiple attribute as boolean 38/37238/7
authorMathias Brodala <mbrodala@pagemachine.de>
Wed, 25 Feb 2015 17:20:33 +0000 (18:20 +0100)
committerMorton Jonuschat <m.jonuschat@mojocode.de>
Fri, 13 Nov 2015 19:34:17 +0000 (20:34 +0100)
commit711462bed63d5a77e60c89d088c528f95953aee6
treedacf13a2ce51bea279108941c9cf2f5334c00107
parent0f49e3e067d5fc27fc89bb31fa2e4785b3dd6521
[BUGFIX] Evaluate select multiple attribute as boolean

The "multiple" attribute should not be rendered blindly with whatever was
passed. It should be evaluated as boolean argument instead.

This is a non-breaking change since Fluid converts any string which is not
empty or not case-insensitive "false" to boolean TRUE.

Resolves: #65345
Releases: master
Change-Id: I426b0446ae31c1efd81de8068ecd1e647c01a18d
Reviewed-on: https://review.typo3.org/37238
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Daniel Goerz <ervaude@gmail.com>
Tested-by: Daniel Goerz <ervaude@gmail.com>
Tested-by: Bjoern Jacob <bjoern.jacob@tritum.de>
Reviewed-by: Bjoern Jacob <bjoern.jacob@tritum.de>
Reviewed-by: Morton Jonuschat <m.jonuschat@mojocode.de>
Tested-by: Morton Jonuschat <m.jonuschat@mojocode.de>
typo3/sysext/fluid/Classes/ViewHelpers/Form/SelectViewHelper.php
typo3/sysext/fluid/Tests/Unit/ViewHelpers/Form/SelectViewHelperTest.php