#110080SlugService::resolveSubPages() ignores workspace overlays when autoUpdateSlugs propagates slugs
Description
When a page slug is changed inside a workspace, redirects.autoUpdateSlugs does not propagate the change to subpages correctly, because SlugService::resolveSubPages() operates on live data instead of the workspace state.
Two causes in EXT:redirects/Classes/Service/SlugService.php:
1. getQueryBuilderForPages() builds WorkspaceRestriction($wsId) without includeAllVersionedRecords = true. That flag is documented specifically for queries on fields that may change in a workspace (e.g. slug), so changed version rows (t3ver_oid != 0) are filtered out and only the live row is returned.
2. resolveSubPages() overlays results with PageRepository::getPagesOverlay(), which only performs a language overlay — it never calls versionOL(). So the returned subpage records carry live slug/@pid@ values, never the workspace versions.
Effect: subpage slug propagation is computed against the live page tree and live slugs, so it only behaves correctly when the slug change is made in the LIVE workspace. (autoCreateRedirects is intentionally LIVE-only; autoUpdateSlugs is not and should work in workspaces.)
Affected: TYPO3 v13
Reviews 1
Fix this issue
Start the commit message of your patch with this. Add what the patch does, and the versions it goes to in "Releases:". The changes above were merged or abandoned: read them before you start. How to create a patch
- Commit message
-
[BUGFIX] SlugService::resolveSubPages() ignores workspace overlays when autoUpdateSlugs propagates slugs Resolves: #110080 Releases: main
History 14
-
Garvin Hicking changed category <span data-processor="relativetime" data-value="2026-06-19T17:58:08+00:00" > 06/19/26, 17:58 </span>
-
Gerrit Code Review pushed patch set 3 for main to change 97537 status
NewUnder Review <span data-processor="relativetime" data-value="2026-11-11T14:48:12+00:00" > 11/11/26, 14:48 </span> -
Gerrit Code Review pushed patch set 4 for main to change 97537 <span data-processor="relativetime" data-value="2026-11-11T15:58:22+00:00" > 11/11/26, 15:58 </span>
-
Gerrit Code Review pushed patch set 5 for main to change 97537 <span data-processor="relativetime" data-value="2026-11-15T08:27:53+00:00" > 11/15/26, 08:27 </span>