Actions
Bug #97914
openSlug fields should be initialized or re-evaluated after record creation
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
Updated by Oliver Hader almost 2 years ago
- Sprint Focus set to On Location Sprint
Updated by Oliver Hader almost 2 years ago
- Related to Bug #94371: Slug suggest (ajax call) does not include value of select field added
Updated by Benni Mack about 1 year ago
- Sprint Focus deleted (
On Location Sprint)
Actions