Project

General

Profile

Actions

Bug #97914

open

Slug fields should be initialized or re-evaluated after record creation

Added by Cyril Janody over 2 years ago. Updated over 1 year ago.

Status:
New
Priority:
Should have
Assignee:
-
Category:
Site Handling, Site Sets & Routing
Target version:
-
Start date:
2022-07-12
Due date:
% Done:

0%

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

Description

Hi,

The SlugHelper incorrectly evaluates the field value on record creation when it depends on dynamic fields like the UID.

Setup example:

        'path_segment' => [
            'label' => $ll . '.path_segment',
            'config' => [
                'type' => 'slug',
                'size' => 50,
                'generatorOptions' => [
                    'fields' => ['title','uid'],
                    'fieldSeparator' => '-',
                    'replacements' => [
                        '/' => '-'
                    ],
                ],
                'fallbackCharacter' => '-',
                'eval' => $configuration->getSlugBehaviour(),
                'default' => ''
            ]
        ],

Current result: test-1

Expected result: test-4742 (value obtained with the recalculate button)

Thanks


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #94371: Slug suggest (ajax call) does not include value of select fieldClosed2021-06-17

Actions
Actions #1

Updated by Oliver Hader about 2 years ago

  • Sprint Focus set to On Location Sprint
Actions #2

Updated by Oliver Hader about 2 years ago

  • Related to Bug #94371: Slug suggest (ajax call) does not include value of select field added
Actions #3

Updated by Benni Mack over 1 year ago

  • Sprint Focus deleted (On Location Sprint)
Actions

Also available in: Atom PDF