Bug #91875
closedCreating new siteroots in a folder (pid NOT 0) generates wrong and not fixable slugs
0%
Description
Have a sysfolder, containing siteroots. Add a new page in there. The SlugHelper generates a slug different from "/" (because it's neither on pid=0 nor an actual Site yet), but due to PseudoSiteTcaDisplayCondition this slug is not editable (it returns false when not being on pid=0 for whatever reason).
All subpages of this page will have this wrong slug prepended.
You need to create the page first before creating the site yaml because you need the uid for the rootPageId.
In a several-hundreds-domain setup, organised in logical folders, where siteroots are added on a daily base (also by non-developer backend-admins, the devs only add all the domain config only once the page tree "is ready") - imagine what a mess this creates which is only fixable with raw database Access by hand.
(regression, because in v8 one could create siteroot pages without problems)
Updated by Stefan P over 3 years ago
Even when the yaml file is there, if the siteroot is not on pid=0 the slug field is not displayed by the displayCond.
Updated by Stefan P over 3 years ago
- Category set to Link Handling, Site Handling & Routing
Updated by Riccardo De Contardi almost 2 years ago
- Status changed from New to Closed
@Stefan P Thank you for your reply and sorry for the late feedback;
I close this issue in agreement with the reporter.
If you think that this is the wrong decision or I have misunderstood or there is still work to be done, please reopen it or open a new issue with a reference to this one.
Thank you.