Bug #67875

tt_content categories field is not registered for all types

Added by Alexander Stehlik about 4 years ago. Updated over 1 year ago.

Status:
Closed
Priority:
Should have
Category:
Categorization API
Target version:
Start date:
2015-07-01
Due date:
% Done:

100%

TYPO3 Version:
7
PHP Version:
5.5
Tags:
Complexity:
medium
Is Regression:
No
Sprint Focus:

Description

Currently the tt_content table gets its categories field by the install tool configuration value:

$GLOBALS['TYPO3_CONF_VARS']['SYS']['defaultCategorizedTables']

The problem here is that most of the content types are defined in Configuration/TCA/Overrides since #65922.

Since the Overrides for the TCA are processed after the global categories are registered (in ExtensionManagementUtility::buildBaseTcaFromSingleFiles()), most of the content types are just left out when the CategoryRegistry calls ExtensionManagementUtility::addToAllTCAtypes().


Related issues

Related to TYPO3 Core - Task #65922: Move unused tt_content TCA fields and the arrangement to css_styled_content or compatibility6 Closed 2015-03-23
Duplicated by TYPO3 Core - Bug #68650: Categories tab not showing on content elements starting with TYPO3 7.2 Closed 2015-07-30

Associated revisions

Revision 3dc9b5db (diff)
Added by Alexander Stehlik almost 4 years ago

[FEATURE] Allow re-initialization of tt_content categories

The categories field for the tt_content table is re-initialized in
the TCA overrides file of css_styled_content.

For this to work a new method is added to the category registry
that allows overriding an existing registry entry.

Resolves: #67875
Releases: master
Change-Id: I1a9ba30982216402d3fe8e2d3e48ed27a8807df2
Reviewed-on: http://review.typo3.org/40834
Reviewed-by: Nicole Cordes <>
Tested-by: Nicole Cordes <>
Reviewed-by: Daniel Goerz <>
Tested-by: Daniel Goerz <>
Reviewed-by: Morton Jonuschat <>
Tested-by: Morton Jonuschat <>
Reviewed-by: Benni Mack <>
Tested-by: Benni Mack <>

History

#1 Updated by Gerrit Code Review about 4 years 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 http://review.typo3.org/40834

#2 Updated by Gerrit Code Review about 4 years ago

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

#3 Updated by Gerrit Code Review about 4 years ago

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

#4 Updated by Gerrit Code Review about 4 years ago

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

#5 Updated by Gerrit Code Review almost 4 years ago

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

#6 Updated by Markus Sommer almost 4 years ago

  • Description updated (diff)
  • Assignee set to Alexander Stehlik

#7 Updated by Mathias Brodala almost 4 years ago

  • Target version set to 7.5
  • Sprint Focus set to On Location Sprint

#8 Updated by Gerrit Code Review almost 4 years ago

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

#9 Updated by Gerrit Code Review almost 4 years ago

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

#10 Updated by Gerrit Code Review almost 4 years ago

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

#11 Updated by Gerrit Code Review almost 4 years ago

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

#12 Updated by Gerrit Code Review almost 4 years ago

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

#13 Updated by Gerrit Code Review almost 4 years ago

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

#14 Updated by Alexander Stehlik almost 4 years ago

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

#15 Updated by Anja Leichsenring over 3 years ago

  • Sprint Focus deleted (On Location Sprint)

#16 Updated by Riccardo De Contardi over 1 year ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF