Project

General

Profile

Actions

Bug #87364

closed

Slug generation wizard ignores columnsOverrides of TCA

Added by Benjamin Gries Gries almost 6 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
Site Handling, Site Sets & Routing
Target version:
-
Start date:
2019-01-08
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
9
PHP Version:
7.2
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

The slug generation wizard ignores the columnsOverrides of TCA. This makes it impossible to override the configuration for custom doktypes (in my example it's a custom doktype with the ID 50). I tested it in a TYPO3 9.5.3 environment.

Code A (doesn't work):

$GLOBALS['TCA']['pages']['types'][50]['columnsOverrides'] = [
    'slug' => [
         'config' => [
             'generatorOptions' => [
                 'fields' => [
                     'title', 'nav_title'
                 ],
                 'fieldSeparator' => '-',
                 'prefixParentPageSlug' => true,
             ]
         ]
     ]
];

Code B (works like a charm):

$GLOBALS['TCA']['pages']['columns']['slug']['config']['generatorOptions'] = [
    'fields' => [
        'title', 'nav_title'
    ],
    'fieldSeparator' => '-',
    'prefixParentPageSlug' => true,
];

Files

code-a.png (32.3 KB) code-a.png Benjamin Gries Gries, 2019-01-08 13:29
code-b.png (32.5 KB) code-b.png Benjamin Gries Gries, 2019-01-08 13:29

Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #69183: Respect TCA option 'columnsOverrides' for server side field evaluationsClosed2015-08-19

Actions
Actions #1

Updated by Benjamin Gries Gries almost 6 years ago

  • Description updated (diff)
Actions #2

Updated by Benjamin Gries Gries almost 6 years ago

  • Description updated (diff)
Actions #3

Updated by Gerrit Code Review over 5 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 https://review.typo3.org/c/Packages/TYPO3.CMS/+/61416

Actions #4

Updated by Gerrit Code Review over 5 years 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/c/Packages/TYPO3.CMS/+/61416

Actions #5

Updated by Gerrit Code Review over 5 years 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/c/Packages/TYPO3.CMS/+/61416

Actions #6

Updated by Gerrit Code Review over 5 years 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/c/Packages/TYPO3.CMS/+/61416

Actions #7

Updated by Gerrit Code Review over 5 years 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/c/Packages/TYPO3.CMS/+/61416

Actions #8

Updated by Gerrit Code Review over 5 years ago

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

Actions #9

Updated by Gerrit Code Review over 5 years ago

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

Actions #10

Updated by Gerrit Code Review over 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 https://review.typo3.org/c/Packages/TYPO3.CMS/+/61416

Actions #11

Updated by Gerrit Code Review over 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 https://review.typo3.org/c/Packages/TYPO3.CMS/+/61416

Actions #12

Updated by Gerrit Code Review over 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 https://review.typo3.org/c/Packages/TYPO3.CMS/+/61416

Actions #13

Updated by Gerrit Code Review over 4 years ago

Patch set 1 for branch 9.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/+/63741

Actions #14

Updated by Gerrit Code Review over 4 years ago

Patch set 2 for branch 9.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/+/63741

Actions #15

Updated by Gerrit Code Review over 4 years ago

Patch set 3 for branch 9.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/+/63741

Actions #16

Updated by Benjamin Gries Gries over 4 years ago

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

Updated by Daniel Goerz over 4 years ago

  • Related to Bug #69183: Respect TCA option 'columnsOverrides' for server side field evaluations added
Actions #18

Updated by Benni Mack over 4 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF