Project

General

Profile

Actions

Bug #94371

closed

Slug suggest (ajax call) does not include value of select field

Added by Christoph Lehmann over 3 years ago. Updated about 1 year ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Site Handling, Site Sets & Routing
Target version:
-
Start date:
2021-06-17
Due date:
% Done:

100%

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

Description

My slug field is

        'slug' => [
            'exclude' => true,
            'label' => 'LLL:EXT:core/Resources/Private/Language/locallang_tca.xlf:pages.slug',
            'config' => [
                'type' => 'slug',
                'size' => 50,
                'generatorOptions' => [
                    'fields' => [
                        'title', 'first_name', 'last_name'
                    ],
                    'fieldSeparator' => '-'
                ],
                'fallbackCharacter' => '-',
                'eval' => 'unique',
                'default' => ''
            ]
        ],

The fields first_name and last_name are normal input fields. The field title is a select field.

When i use the slug refresh button, then the slug includes the first_name and last_name only. (Wrong)

When i empty the slug field and save the record, then the slug includes all 3 field values (Ok)


Related issues 1 (1 open0 closed)

Related to TYPO3 Core - Bug #97914: Slug fields should be initialized or re-evaluated after record creationNew2022-07-12

Actions
Actions

Also available in: Atom PDF