[BUGFIX] Fix multi-checkbox/radiobox labels for values containing dots 21/54621/3
authorOliver Hader <oliver@typo3.org>
Fri, 8 Sep 2017 10:43:03 +0000 (12:43 +0200)
committerMarkus Klein <markus.klein@typo3.org>
Mon, 13 Nov 2017 16:35:25 +0000 (17:35 +0100)
commit0759379c7285a6c352bfca5be0aa1186d5af7539
treecd84ebc5adfed160d8e6b1128bbefe9816acacbb
parent6c60d6b97f6a2dd56397d21e08d53ef6c5117a5a
[BUGFIX] Fix multi-checkbox/radiobox labels for values containing dots

If checkbox/radiobox values contain dots, these are falsely evaluated as
array lookup paths. Fix this by passing in separate path segments instead
which may contain dots.

Resolves: #82210
Releases: master, 8.7
Change-Id: Ib3d0d1abbeb4fdf84da427f6bea0d597ba9aade6
Reviewed-on: https://review.typo3.org/54621
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
typo3/sysext/form/Classes/Service/TranslationService.php
typo3/sysext/form/Classes/ViewHelpers/TranslateElementPropertyViewHelper.php
typo3/sysext/form/Resources/Private/Frontend/Partials/MultiCheckbox.html
typo3/sysext/form/Resources/Private/Frontend/Partials/RadioButton.html
typo3/sysext/form/Tests/Unit/Service/TranslationServiceTest.php