Issue Bug Rejected

#86849Slug generation in record fails since update to 9.5.1

Chris Müller 11/05/18, 10:03 updated 11/05/18, 10:40

Description

Given is a record in an own extension with a slug field.

The TCA configuration is as follows:

‘path_segment’ => [
‘label’ => ‘Path segment’,
‘exclude’ => true,
‘config’ => [
‘type’ => ‘slug’,
‘generatorOptions’ => [
‘fields’ => [‘title’],
‘fieldSeparator’ => ‘/’,
‘prefixParentPageSlug’ => false,
],
‘fallbackCharacter’ => ‘-’,
‘eval’ => ‘uniqueInPid’,
],
],

Clicking on the button for recalculating the slug throws an exception (see attachment).

The same exception occurs when saving the record. So it’s not possible anymore to save a record!

I am using a multi-lingual single-page tree (I don’t know if this is relevant).

I can reproduce the error in the news extension.

It seems to me that this is a regression related to the fix for bug #86195.

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.