Project

General

Profile

Actions

Bug #70197

closed

Incorrect throwing of exception "Broken data structure on field name XXXXX section without type or vice versa is not allowed"

Added by Sven Wappler over 8 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
FormEngine aka TCEforms
Target version:
Start date:
2015-09-30
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
7
PHP Version:
5.6
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

In file sysext/backend/Classes/Form/FormDataProvider/TcaFlexProcess.php line 518 the condition

// type without section is not ok
} elseif (isset($dataStructureSheetElementDefinition['type']) || isset($dataStructureSheetElementDefinition['section'])) {

stands in contrast to the comment above and threrefore throws the exception "Broken data structure on field name XXXXX section without type or vice versa is not allowed"

Uncaught TYPO3 Exception
#1440685208: Broken data structure on field name pi_flexform. section without type or vice versa is not allowed (More information)

UnexpectedValueException thrown in file
/home/svewap/srv/www/vhosts/typo3webs/typo3_src-7.5.0/typo3/sysext/backend/Classes/Form/FormDataProvider/TcaFlexProcess.php in line 519.

Files

example-1.xml (3.95 KB) example-1.xml Christian Sonntag, 2015-10-01 09:20
example-2.xml (4.03 KB) example-2.xml Christian Sonntag, 2015-10-01 09:20
Actions

Also available in: Atom PDF