Project

General

Profile

Actions

Bug #91875

closed

Creating new siteroots in a folder (pid NOT 0) generates wrong and not fixable slugs

Added by Stefan P over 3 years ago. Updated almost 2 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Link Handling, Site Handling & Routing
Target version:
-
Start date:
2020-07-27
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
9
PHP Version:
Tags:
Complexity:
Is Regression:
Yes
Sprint Focus:

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)

Actions #1

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.

Actions #2

Updated by Stefan P over 3 years ago

  • Category set to Link Handling, Site Handling & Routing
Actions #3

Updated by Stefan P over 2 years ago

Can be closed, works on v10, v9 is dead.

Actions #4

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.

Actions

Also available in: Atom PDF