Actions
Bug #89187
closedSlug recreation is not available for generator fields with type=inline
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
Actions