Project

General

Profile

Actions

Bug #96132

closed

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

Added by Robert Kärner almost 3 years ago. Updated about 2 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
FormEngine aka TCEforms
Target version:
-
Start date:
2021-11-29
Due date:
% Done:

100%

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

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

Actions

Also available in: Atom PDF