Project

General

Profile

Actions

Bug #104673

open

TCA type slug field not generated correctly for new record with generatorOptions in columnsOverrides

Added by Nikita Hovratov 3 months ago. Updated about 2 months ago.

Status:
Accepted
Priority:
Should have
Assignee:
-
Category:
FormEngine aka TCEforms
Target version:
-
Start date:
2024-08-20
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
13
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

The scenario is we have a slug field defined, but the generatorOptions are to be found in types/columnsOverrides section.
This is already handled in FormSlugAjaxController, however for NEW records, this does not work because it relies on the existence of the db row.
A fix would be to provide the record type already in the ajax request, which should be known by FormEngine at this point.

Actions #1

Updated by Garvin Hicking 3 months ago

  • Category set to FormEngine aka TCEforms
Actions #2

Updated by Stefan Bürk 2 months ago

Slughandling DataHandler / FormEngine has more caveats related to slug generation/sanitzation.
Stumpeled over that (DH / functional tests) while refactoring https://review.typo3.org/c/Packages/TYPO3.CMS/+/85574
and testing / debugging through the DataHandler->processDataMap() step to test/verify the
change (and changes for the change).

Actions #3

Updated by Benjamin Franzke about 2 months ago

  • Status changed from New to Accepted
Actions

Also available in: Atom PDF