Project

General

Profile

Bug #89187

Updated by Elias Häußler over 4 years ago

h2. Issue 

 If a element of type=slug has a single generator field with type=inline type=group 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. 


 h2. Repro 

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

 <pre><code class="php"> 
 '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' => '', 
     ], 
 ], 
 </code></pre> 

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

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

Back