#90736Wrong slug fields for siteroots (level > 1) in multidomain environment and no possibility to modify them
Description
In a multidomain environment (where the sites are not located in the first level) the “is_siteroot” pages slugs are generated wrong. In addition, there is currently no possibility to manage them without directly modifying the slug in the database.
For example, if a new page is created in level 2, depending on the way it is created (wizard and from type of the parent from which executed) the slug field is shown in tca form. Even if slug is set to “/” here, “/1” or similar is saved instead. After that the field is not shown ony more at all.
Suggestion: At least when the created page is set to “is_siteroot”, the slug should automatically bet set to “/”.
Regarding multi language sites (like in my case), the behaviour should be checked, too. But it looks like the translated pages slug ist correctly set to “/”.
I am using version 9.5.14.
- Root [0] -- Start [1] (Just for assigning some global TS, often use case) --- Domain A [is_siteroot + site configuration] -> Slug is set to "domaina" or (if set to "/" if form is shown) to "/1" --- Domain B [is_siteroos + site configuration] -> Slug is set to "domainb" or (if set to "/" if form is shown) to "/2"
Reviews 3
- 10.4 65192[BUGFIX] Fix slug handling for sites not on root level
- 9.5 65066[BUGFIX] Fix slug handling for sites not on root level
- main 65116[BUGFIX] Fix slug handling for sites not on root level
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] Wrong slug fields for siteroots (level > 1) in multidomain environment and no possibility to modify them Resolves: #90736 Releases: main
Related issues 5
- Feature #86216Allow empty slug for root pages and sysfolders
- Bug #86727Numeric in slugs on multidomain instances.
- Bug #89311Flaws in site configuration when creating new page on root-level
- Bug #89485 Editing a slug field on a root page (page with SiteConfiguration) is not possible if parent uid of this root page is > 0 and TreeRoot has no site configuration
- Bug #90932PseudoSiteTcaDisplayCondition always checks l10n_parent