-
Notifications
You must be signed in to change notification settings - Fork 351
Description
Q | A |
---|---|
Sulu Version | 2.0.1 |
Browser Version | Chrome 79 |
Actual Behavior
Creating the following page structure:
Root page
--> foo
--> bar
Now renaming (URL segment) foo
to my
results in the page /foo/bar
being redirected to /my/bar
which is correct.
However, all links generated for the page bar
still generate /foo/bar
which means the links on the page still point to the old URLs, even after cache clear.
Another issue with this (probably same reason) is that if a translation didn't exist and it was generated later for the original page foo
, then the link for that localization is /bar
and keeps being /bar
as the parent page URL change was not registered.
Interestingly I think a new entry in the URL history is added when changing the parent page.
Expected Behavior
For the scenario above the generated URLs should be /my/bar
and not /foo/bar
.
Meaning the current parent page should be taken into account (same regarding translations).
Steps to Reproduce
See Actual Behaviour
.