[BUGFIX] FormEngine: Exception on inline/section in flex container 69/47369/4
authorChristian Kuhn <lolli@schwarzbu.ch>
Wed, 23 Mar 2016 15:18:41 +0000 (16:18 +0100)
committerChristian Kuhn <lolli@schwarzbu.ch>
Thu, 24 Mar 2016 10:42:32 +0000 (11:42 +0100)
commit8ae9f625683c86e38a757f176f8e86eb7c11dde2
tree77021f5ce09bc2fec3d7a0fb45a31ca279b5c84b
parent940a8c0103ecef5022efeb32756c42f2073f1ef3
[BUGFIX] FormEngine: Exception on inline/section in flex container

Nesting flex form sections or inline within section containers is
not supported. To not let developers run into hard to track issues
the patch adds an exception to detect these cases.

Additionally, GroupElement contains a preparation that is done by
TcaGroup data provider already, so this part is cleaned up along
the way since this is unreachable code if FormEngine is used without
nested sections.

Change-Id: I2af9140ad0fe1d60d85439bd5598775904b70e52
Resolves: #73125
Releases: master, 7.6
Reviewed-on: https://review.typo3.org/47369
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Oliver Hader <oliver.hader@typo3.org>
Tested-by: Oliver Hader <oliver.hader@typo3.org>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
typo3/sysext/backend/Classes/Form/Element/GroupElement.php
typo3/sysext/backend/Classes/Form/FormDataProvider/TcaFlexProcess.php
typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/TcaFlexProcessTest.php