Project

General

Profile

Actions

Bug #81684

closed

Flexform sections can't be created until content element is saved

Added by José Ricardo over 7 years ago. Updated about 2 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
FormEngine aka TCEforms
Target version:
-
Start date:
2017-06-22
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
8
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

Hi,

I have a very simple flexform (attached) which adds a section to a tt_content record. If i try to add items on it before saving the content, it is not added and the on the browse console I can get the error:

#1476107295: PHP Warning: Invalid argument supplied for foreach() in .../typo3_src/typo3/sysext/backend/Classes/Form/Container/FlexFormElementContainer.php line 47 (More information)

TYPO3\CMS\Core\Error\Exception thrown in file
.../typo3_src/typo3/sysext/core/Classes/Error/ErrorHandler.php in line 112.

Thought it was related to #80825, but the solution for it didn't solved this problem.
If the tt_content record is already saved, the items of section are added normally.
Other data not in sections works fine.

It works fine on TYPO3 7.

I've tested this on 8.7.1 and 8.7.2 and none works.


Files

Components.xml (1.73 KB) Components.xml José Ricardo, 2017-06-22 20:43
flexform_quickgooglemap.xml (10.1 KB) flexform_quickgooglemap.xml Fabian König, 2018-09-10 16:35
xdebug_add_datalayer.png (78.6 KB) xdebug_add_datalayer.png Tomas Norre Mikkelsen, 2021-02-23 13:11
Add_plugin_xdebug.png (8.75 KB) Add_plugin_xdebug.png Tomas Norre Mikkelsen, 2021-02-24 14:41
add_datalayer_before_safe.png (4.93 KB) add_datalayer_before_safe.png Tomas Norre Mikkelsen, 2021-02-24 14:41
Actions

Also available in: Atom PDF