[BUGFIX] FormEngine: Only evaluate Flexform display conditions once 44/43744/5
authorStefan Froemken <froemken@gmail.com>
Fri, 2 Oct 2015 14:39:37 +0000 (16:39 +0200)
committerChristian Kuhn <lolli@schwarzbu.ch>
Sat, 3 Oct 2015 01:10:58 +0000 (03:10 +0200)
commit00f5c62a9e001402cf232a8b7d0bded516c9d1b8
tree12b370ffcf62186789110fa858a35c9d21274238
parent7cdd863a864d0428813eba8824037fc483a7d542
[BUGFIX] FormEngine: Only evaluate Flexform display conditions once

Avoid evaluating the display conditions for fields on a Flexform sheet
more than once. Multiple evaluations of the same conditions can lead to
wrong result due to fields having been removed by the first evaluation.

Resolves: #70314
Releases: master
Change-Id: I412a8cc2acf67e2a72de1f37a0f8038110ca4c2e
Reviewed-on: http://review.typo3.org/43744
Reviewed-by: Morton Jonuschat <m.jonuschat@mojocode.de>
Tested-by: Morton Jonuschat <m.jonuschat@mojocode.de>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
typo3/sysext/backend/Classes/Form/FormDataProvider/EvaluateDisplayConditions.php
typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/EvaluateDisplayConditionsTest.php