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 #1

Updated by Gerrit Code Review almost 3 years ago

  • Status changed from New to Under Review

Patch set 1 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/72350

Actions #2

Updated by Gerrit Code Review almost 3 years ago

Patch set 2 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/72350

Actions #3

Updated by Gerrit Code Review over 2 years ago

Patch set 1 for branch 11.5 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/74988

Actions #4

Updated by Robert Kärner over 2 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #5

Updated by Benni Mack about 2 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF