[BUGFIX] FormEngine warning 21/41521/5
authorChristian Kuhn <lolli@schwarzbu.ch>
Thu, 16 Jul 2015 21:37:09 +0000 (23:37 +0200)
committerWouter Wolters <typo3@wouterwolters.nl>
Fri, 17 Jul 2015 11:12:50 +0000 (13:12 +0200)
commit5a4a53e5ce16b13e4b631eec17f7f4613ffb74d1
tree421175f437819933426869e57184425f043e2e76
parent796b74dc25a097149f21825293b6ba51b3f27869
[BUGFIX] FormEngine warning

The patch fixes a todo that was marked as code smell already.
The FormEngine class construct relies on a defined return structure
for child nodes. This must not be violated and may throw all kind
of warnings.
An edge case is fixed, where the InlineRecordContainer is called
by FormEngine ajax inline "extend" or by the InlineControlContainer,
those parents must react differently, so this communcation is now
done with an exception.

Resolves: #68262
Resolves: #67592
Releases: master
Change-Id: I32996e31d27be3d0556b9b68c7291624e0d289d2
Reviewed-on: http://review.typo3.org/41521
Reviewed-by: Susanne Moog <typo3@susannemoog.de>
Tested-by: Susanne Moog <typo3@susannemoog.de>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
typo3/sysext/backend/Classes/Form/Container/InlineControlContainer.php
typo3/sysext/backend/Classes/Form/Container/InlineRecordContainer.php
typo3/sysext/backend/Classes/Form/Exception/AccessDeniedException.php [new file with mode: 0644]
typo3/sysext/backend/Classes/Form/FormEngine.php