Actions
Bug #85562
closedTCA 'flex' set new records failed!
Status:
Closed
Priority:
Must have
Assignee:
-
Category:
FormEngine aka TCEforms
Target version:
Start date:
2018-07-14
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
8
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
Hello.
set-up a new record with 'flex' failed.
tca
['columns']['flexform'] => [ 'exclude' => 0, 'displayCond' => 'FIELD:flexform_pointer:REQ:TRUE', 'label' => '', 'config' => [ 'type' => 'flex', 'ds_pointerField' => 'flexform_pointer', ] ],
error
#1478113873: Incomplete "record" based identifier: {"type":"record","tableName":"tx_myext_table","uid":0,"fieldName":"flexform_pointer"} RuntimeException thrown in file [..]/typo3_src-8.7.17/typo3/sysext/core/Classes/Configuration/FlexForm/FlexFormTools.php in line 650.
FlexFormTools.php
if (empty($identifier['tableName']) || empty($identifier['uid']) || empty($identifier['fieldName'])) { throw new \RuntimeException( 'Incomplete "record" based identifier: ' . json_encode($identifier), 1478113873 ); }
if the record is new the uid is "0" and empty is true ..
.loon
Actions