#87963Site configuration / 404 Page not found
Description
Looks like there is a bug in site configuration.
Works:
1. Create a page, mark as root and make it visible
2. Add the simple Ts-Template to the page
3. Create a site configuration for the current domain and PID
4. Call your site configuration domain
Dosn’t work:
1. Create a folder and make it visible
2. Create a page inside the new folder, mark as root and make it visible
3. Add the simple Ts-Template to the new page
4. Create a site configuration for the current domain and PID
5. Call your site configuration domain
Reviews 1
Files 2
History 810
-
IPM no-lastname-given commented 03/25/19, 08:29
-
Riccardo De Contardi commented and changed category 03/30/19, 21:37
If I have understood it correctly, the problem here is present when the root page is created inside a sysfolder?
-
Benni Mack commented and changed status
NewAccepted target version 04/26/19, 22:21Got it. The issue lies within PseudoSiteTcaDisplayCondition – we need to fix this by using the RecordStateFactory and RecordState logic!
-
Riccardo De Contardi commented and changed attached cattura.png attached cattura2.png 04/26/19, 22:29
I tried the following test using a fresh installation of TYPO3 9.5.5
Prerequisites
fresh TYPO3 installation with an existing root page and an existing site configuration
Test procedure
1) create a sysfolder “testfolder” at the same level of the previous root page (it has ID=23 in my case)
2) create inside of it a new page “home2“
2.1) mark it as root
2.2) create in it a TypoScript full templatethe following image sums up the setup:
3) create a new site configuration for “home2”, the folowwing image sums up its configuration:
Results
- calling https://typo3.9.test.it:8890/test/ results in a 404 page
- the actual URL of the page is https://typo3.9.test.it:8890/test/home2additional information
- the folder “testfolder” has as “URL Segment” : “/” (auto-generated, I’ve not edited it)
- “home2” has no “URL segment” field visible so it is currently not possible for example to change it into “/” – this is due to a different issue that also affects 10.0.0-dev (latest master)
- it is possible to preview “testfolder” but the url https://typo3.9.test.it:8890/index.php?id=23 is a 404, too -
Gerrit Code Review pushed patch set 1 for master to change 60677 status
AcceptedUnder Review 05/06/19, 17:17 -
Gerrit Code Review pushed patch set 2 for master to change 60677 05/06/19, 17:19
-
Benni Mack changed target version 05/07/19, 12:28
-
Susanne Moog commented and changed status
Under ReviewAccepted 08/29/19, 20:19Patch was abandoned.
-
Georg Ringer commented and changed status
AcceptedResolved 06/11/24, 17:57in the meantime this works now, tested with v13.
-
Benni Mack changed status
ResolvedClosed 07/09/24, 12:00
Update to this report:
It’s the problem of creating a sys folder while TYPO3 generates a slug for this sysfolder. In result of this there is a wrong slug for the “start page”.