Project

General

Profile

Actions

Bug #89187

closed

Slug recreation is not available for generator fields with type=inline

Added by Elias Häußler about 5 years ago. Updated about 4 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
FormEngine aka TCEforms
Target version:
-
Start date:
2019-09-17
Due date:
% Done:

100%

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

Description

Issue

If a element of type=slug has a single generator field with type=inline defined, Slug recreation in the Form engine is not possible. This is because the recreation button will be disabled if the generator fields are not available for proposal generation.

Repro

Create a field with the following configuration and make it visible in the backend:

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

Now make sure you have a field with type=inline and name "image".

Check in backend if the recreate button next to the slug field is disabled (see attachment).


Files

Bildschirmfoto 2019-09-17 um 11.45.52.png (4.32 KB) Bildschirmfoto 2019-09-17 um 11.45.52.png Elias Häußler, 2019-09-17 13:08
test_89187_1.0.0_201909232221.zip (1.82 KB) test_89187_1.0.0_201909232221.zip Test extension to reproduce issue Joerg Kummer, 2019-09-23 22:22

Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #90141: Slug recreation is not availabe for generator fields that are configured as "readonly"Closed2020-01-17

Actions
Actions

Also available in: Atom PDF