Bug #89293

Slug not automatically generated when adding record with repository add method

Added by Florian Rival over 1 year ago. Updated over 1 year ago.

Status:
Rejected
Priority:
Should have
Assignee:
-
Category:
Extbase
Target version:
-
Start date:
2019-09-27
Due date:
% Done:

0%

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

Description

Hi,

If you add a record from FE form and your record has a slug field defined in TCA, the slug isn't automatically inserted when inserting the data with xxxrepository->add($myRecord).

In my opinion, the slug field must be set if it is empty as it's done when you insert a record in the BE.

Florian

Also available in: Atom PDF