[BUGFIX] Fix multi-checkbox/radiobox labels for values containing dots 07/54007/7
authorOliver Hader <oliver@typo3.org>
Fri, 8 Sep 2017 10:43:03 +0000 (12:43 +0200)
committerStefan Neufeind <typo3.neufeind@speedpartner.de>
Sat, 11 Nov 2017 15:57:29 +0000 (16:57 +0100)
commit021d393ee0c3bbf748669487734f14562e84d959
tree0865d17e403c4c2aec17f24c3554e1190fadfc28
parentb33a682d0d7a0a6a8b9720be6d6326ab5ea56342
[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/54007
Reviewed-by: Daniel Lorenz <daniel.lorenz@extco.de>
Tested-by: Daniel Lorenz <daniel.lorenz@extco.de>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
Tested-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
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