Bug #85733

Wrong reference to TCA ctrl section in DefaultTcaSchema->getPrioritizedFieldNames

Added by Tymoteusz Motylewski over 1 year ago. Updated about 1 year ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2018-08-02
Due date:
% Done:

100%

TYPO3 Version:
9
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:
On Location Sprint

Description

there is

        $tableDefinition = $GLOBALS['TCA']['ctrl'];

but should be

        $tableDefinition = $GLOBALS['TCA'][$table]['ctrl'];


Related issues

Related to TYPO3 Core - Bug #85195: Dynamically added fields are added to the end of a table Closed 2018-06-09

Associated revisions

Revision 43a0385a (diff)
Added by Tymoteusz Motylewski over 1 year ago

[BUGFIX] Properly access table TCA 'ctrl' section in getPrioritizedFieldNames

A part with table name was missing when accessing TCA array.
It also fixes similar issue in the rst file.

Resolves: #85733
Related: #85195
Releases: master
Change-Id: I947fe223336bb184f24a3b7248c6d8d724addb11
Reviewed-on: https://review.typo3.org/57781
Tested-by: TYPO3com <>
Reviewed-by: Joerg Kummer <>
Reviewed-by: Łukasz Uznański <>
Tested-by: Łukasz Uznański <>
Reviewed-by: Anja Leichsenring <>
Tested-by: Anja Leichsenring <>

History

#1 Updated by Gerrit Code Review over 1 year ago

  • Status changed from New to Under Review

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

#2 Updated by Tymoteusz Motylewski over 1 year ago

  • Related to Bug #85195: Dynamically added fields are added to the end of a table added

#3 Updated by Anja Leichsenring over 1 year ago

  • Sprint Focus set to On Location Sprint

#4 Updated by Gerrit Code Review over 1 year ago

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

#5 Updated by Gerrit Code Review over 1 year ago

Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/57781

#6 Updated by Gerrit Code Review over 1 year ago

Patch set 4 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/57781

#7 Updated by Gerrit Code Review over 1 year ago

Patch set 5 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/57781

#8 Updated by Tymoteusz Motylewski over 1 year ago

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

#9 Updated by Benni Mack about 1 year ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF