Create an article which uses the page_tree_route type as routePath.
Then copy the article into another language, in the UI it will show the right page version of the new language,
but in the data the route path from the old site is copied. Which results into weird urls.
Actual Behavior
Create an article which uses the
page_tree_route
type as routePath. Then copy the article into another language, in the UI it will show the right page version of the new language, but in thedata
the route path from the old site is copied. Which results into weird urls./de/neuigkeiten/firmenfest -> /en/neuigkeiten/company-party
Expected Behavior
Load the URL of the page with the target locale and add it into the data, if it does not exist remove the page from data and use
/
Steps to Reproduce
See in Actual Behavior.
Possible Solutions
See in Expected Behavior