[BUGFIX] Let form framework finisher parseOption respect arrays 22/56722/2
authorRalf Zimmermann <ralf.zimmermann@tritum.de>
Tue, 20 Feb 2018 09:17:49 +0000 (10:17 +0100)
committerFrank Naegler <frank.naegler@typo3.org>
Thu, 19 Apr 2018 10:00:06 +0000 (12:00 +0200)
commit5fe2a684e1e8fa0787854b335e0cf3443bad8e2d
tree15740d516c6e55c2f648f6f83440f2c2ff373e49
parent23ef7dbea02d8158d1d808cdb809414c4a480ba7
[BUGFIX] Let form framework finisher parseOption respect arrays

The method "parseOption()" can now handle arrays. This is necessary if a
finisher option references a form element value through an
identifier like "someOption: '{<elemenIdentifier>}'" and if
the form element value is an array (e.g. MultiCheckbox).
Furthermore "parseOption()" resolves form element references
within localized option values.

Resolves: #83477
Resolves: #82715
Releases: master, 8.7
Change-Id: I15bcdb1d7799a174e48330de91a444735250bfa1
Reviewed-on: https://review.typo3.org/55820
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Stefan Froemken <froemken@gmail.com>
Tested-by: Stefan Froemken <froemken@gmail.com>
Reviewed-by: Frank Naegler <frank.naegler@typo3.org>
Tested-by: Frank Naegler <frank.naegler@typo3.org>
Reviewed-on: https://review.typo3.org/56722
typo3/sysext/form/Classes/Domain/Finishers/AbstractFinisher.php
typo3/sysext/form/Tests/Unit/Domain/Finishers/AbstractFinisherTest.php