#92448changing slug again after reverting an auto update causes wrong URLs on sub pages
Description
- after changing a slug with sub pages while ‘autoUpdateSlugs’ enabled the slugs of all sub pages are changed as well ✅
before:
/example
/example/page1
/example/page2
after:
/new_example
/new_example/page1
/new_example/page2
- when I press ‘Revert update’ then the changes on the sub pages and the redirects are reverted ✅
before:
/new_example
/new_example/page1
/new_example/page2
after:
/new_example
/example/page1
/example/page2
- when I change the slug of the same parent page again the slugs of all sub pages are changed but with a wrong URL ❌
before:
/new_example
/example/page1
/example/page2
after:
/another_example
/another_example//page1
/another_example//page2
- So that is one slash too many and I would expect this result instead:
after:
/another_example
/another_example/page1
/another_example/page2
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.
Related issues 4
History 8
-
Oliver Hader changed Sprint Focus On Location Sprint <span data-processor="relativetime" data-value="2022-11-03T14:24:51+00:00" > 11/03/22, 14:24 </span>
-
Benni Mack changed Sprint Focus
On Location Sprint<span data-processor="relativetime" data-value="2023-08-02T13:05:19+00:00" > 08/02/23, 13:05 </span> -
Markus Klein changed category <span data-processor="relativetime" data-value="2023-11-09T13:20:31+00:00" > 11/09/23, 13:20 </span>
-
Markus Klein changed Related to #92748 <span data-processor="relativetime" data-value="2023-11-09T13:21:16+00:00" > 11/09/23, 13:21 </span>
-
Markus Klein changed Related to #89326 <span data-processor="relativetime" data-value="2023-11-09T13:25:27+00:00" > 11/09/23, 13:25 </span>
-
Markus Klein changed Related to #89301 <span data-processor="relativetime" data-value="2023-11-09T13:28:49+00:00" > 11/09/23, 13:28 </span>
-
Benni Mack commented and changed status
NewClosed <span data-processor="relativetime" data-value="2026-11-06T09:46:08+00:00" > 11/06/26, 09:46 </span> -
Benni Mack changed Related to #108870 <span data-processor="relativetime" data-value="2026-11-06T10:32:18+00:00" > 11/06/26, 10:32 </span>
Hi CP,
Checked on current main: after “Revert update”, the sub pages no longer share the parent’s old slug prefix, so changing the parent’s slug again leaves them untouched (SlugService::updateSlug() only rewrites sub pages whose slug starts with the parent’s previous slug). No double slashes are produced; verified with a functional test. Closing — please reopen with exact steps if you can still reproduce this on a supported version.