Issue Bug Closed

#96132Copying a content element in the backend fails without showing an error

Robert Kärner 11/29/21, 11:26 updated 10/04/22, 14:13

Description

If a content element contains child records of a different table,
and an error occurs when copying these children, the error isn’t shown in the backend.

Imagine a misconfiguration of the sub-table where a UNIQUE INDEX is set on a column.
FormEngine can’t make a copy of these records, because the unique index is preventing it.

An invisible error is thrown in the ajax request:
PHP Warning: Undefined array key “NEW0123456789abcdef” in typo3\sysext\core\Classes\DataHandling\DataHandler.php line 3691

Reviews 2