Actions
Bug #104673
openTCA type slug field not generated correctly for new record with generatorOptions in columnsOverrides
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.
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).
Updated by Benjamin Franzke about 2 months ago
- Status changed from New to Accepted
Actions