You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi @weisgerberm,
What is the current behaviour? As we work with the DataHandler, this should be default behaviour. Do you have special structure, where this is not happening?
Please provide a scenario, where the slug isn't calculated correct, so we can take a look.
Sorry for the late response. Somehow I must have overlooked the notification from github.
I don't actually have a specific structure.
Current scenario: Let's just assume the news extension. I have a data record in the standard language and then click on the button to translate DeepL in the list view. The data record is translated correctly, but the slug is still the one from the standard language
TCA:
It automatically updates the slug correctly when I translate a page. Does this also work for you with custom records?
Confirmed, slugs for pages are updated automatically, slugs for all other TCA records not (eg. »news«). The datahandler somehow does not update this field for TCA records.
Is your feature request related to a problem? Please describe.
It would be helpful if the SlugHelper recalculated the slug of the new record.
Describe the solution you'd like
You could possibly check the TCA to see whether there is a field of type "slug" and only trigger this process if this is the case.
https://github.com/TYPO3/typo3/blob/main/typo3/sysext/core/Classes/DataHandling/SlugHelper.php
Thank you
The text was updated successfully, but these errors were encountered: