Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Article copy locale does not apply to routePath type page_tree_route #661

Open
Quehnie opened this issue Feb 12, 2024 · 0 comments
Open

Comments

@Quehnie
Copy link
Contributor

Quehnie commented Feb 12, 2024

Q A
Bug? yes
New Feature? no
SuluArticleBundle Version 2.5.1
Sulu Version Specific version or SHA of a commit

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 the data 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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant