[BUGFIX] Fix handling of ClosureFinisher 13/54313/2
authorAndreas Fernandez <a.fernandez@scripting-base.de>
Mon, 25 Sep 2017 08:40:38 +0000 (10:40 +0200)
committerAndreas Fernandez <typo3@scripting-base.de>
Fri, 6 Oct 2017 14:51:09 +0000 (16:51 +0200)
commita2867825aee3820e1ac0df2b51cb64ba28393282
tree066cd9d41b80641a310ce12bd859ece0497a5011
parent9082e0bd27471bee58c84de11bfbe8f767e21d82
[BUGFIX] Fix handling of ClosureFinisher

Check if the incoming optionValue is a closure and return early in such
case.

Resolves: #82550
Releases: master, 8.7
Change-Id: I0f6b12b8ed777906bfe7bc6849841b246e95bbd3
Reviewed-on: https://review.typo3.org/54313
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
typo3/sysext/form/Classes/Domain/Finishers/AbstractFinisher.php
typo3/sysext/form/Tests/Unit/Domain/Finishers/ClosureFinisherTest.php [new file with mode: 0644]