Bug #57750

Default generated categories TCA misses maxLevels configuration

Added by Frans Saris over 1 year ago. Updated over 1 year ago.

Status:Resolved Start date:2014-04-08
Priority:Should have Due date:
Assigned To:Frans Saris % Done:

100%

Category:Backend User Interface Spent time: -
Target version:next-patchlevel
TYPO3 Version:6.2 Is Regression:No
PHP Version: Sprint Focus:
Complexity:

Description

The default generated TCA configuration by the CategoryRegistry does not set maxLevels value.

Because this is not set only 4 levels are shown but should be set to at least 99.

Same for the parent field of sys_category itself.


Related issues

related to Core - Task #57881: Make category TCA changes cacheable Resolved 2014-04-13

Associated revisions

Revision 5fb98854
Added by Frans Saris over 1 year ago

[BUGFIX] Set maxLevels of generated sys_category TCA

The maxLevels in the TCA tree configuration is not set
by the CategoryRegistry. As a result only 4 levels are
shown.

This patch sets the maxLevels to 99 and also updates the
appearance settings of the sys_category:parent field
so these are inline with the other category tree fields.

Resolves: #57750
Releases: 6.2
Change-Id: I7c33b71d2af214cf1b2027e4769c1cc43a3c43d6
Reviewed-on: https://review.typo3.org/29297
Reviewed-by: Alexander Opitz
Reviewed-by: Francois Suter
Tested-by: Francois Suter
Reviewed-by: Stefan Neufeind
Reviewed-by: Fabien Udriot
Tested-by: Fabien Udriot
Reviewed-by: Frans Saris
Tested-by: Frans Saris

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/29297

#2 Updated by Frans Saris over 1 year ago

The TCA settings done by the CategoryRegistry can not overruled easily as these are added after all TCA files (from TCA folders and ext_tables.php files) are loaded.

So when you want to override these settings you have to remove the table from "$GLOBALS['TYPO3_CONF_VARS']['SYS']['defaultCategorizedTables']" and add it your self again.

#3 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/29297

#4 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/29297

#5 Updated by Frans Saris over 1 year ago

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

Also available in: Atom PDF