[BUGFIX] FormEngine exception and warning creating new record 17/39017/2
authorChristian Kuhn <lolli@schwarzbu.ch>
Tue, 28 Apr 2015 15:43:56 +0000 (17:43 +0200)
committerChristian Kuhn <lolli@schwarzbu.ch>
Wed, 29 Apr 2015 09:42:00 +0000 (11:42 +0200)
commit001452c33232e04c45a5fa34251f9b8ae1d26cf0
tree870dd6c27170367baf3ff570b249b9ae56f49d74
parent30029ba428b7fc52b46b4351777c706c601a3c03
[BUGFIX] FormEngine exception and warning creating new record

Some extensions like ext:news use ';;;;2-2-2' in TCA showItem which is
actually an invalid syntax. FormEngine detects this and throws an
exception. To mitigate the issue, the exception is commented out for
now and a @todo is added on how this case could be handled later.

Another warning in flex form container / section handling is fixed
with the patch by sanitizing the given row data to an array, which
is not always the case, for example if adding a new record.

Resolves: #66628
Related: #63846
Releases: master
Change-Id: Ib6dcba0c5e2c1dad8c842e99994ab97e456deb41
Reviewed-on: http://review.typo3.org/39017
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
typo3/sysext/backend/Classes/Form/Container/AbstractContainer.php
typo3/sysext/backend/Classes/Form/Container/FlexFormElementContainer.php