Project

General

Profile

Actions

Bug #97728

closed

Empty TCA config enablecolumns will throw undefined index warning when copyRecord is called

Added by B. Kausch over 2 years ago. Updated about 2 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
DataHandler aka TCEmain
Target version:
-
Start date:
2022-06-02
Due date:
% Done:

100%

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

Description

If you have an empty array for the TCA config enablecolumns, the method copyRecord in the DataHandler class will throw an undefined index warning. See this line that is assuming the existence of a disabled index:

https://forge.typo3.org/projects/typo3cms-core/repository/1749/revisions/11.5/entry/typo3/sysext/core/Classes/DataHandling/DataHandler.php#L3275

Actions #1

Updated by Georg Ringer over 2 years ago

  • Status changed from New to Accepted
  • Assignee set to Georg Ringer
Actions #2

Updated by Gerrit Code Review over 2 years ago

  • Status changed from Accepted 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/+/74810

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/+/74762

Actions #4

Updated by Georg Ringer 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