Bug #87963
closed
Site configuration / 404 Page not found
Added by IPM no-lastname-given over 5 years ago.
Updated 4 months ago.
Category:
Site Handling, Site Sets & Routing
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
Files
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".
- Category set to Site Handling, Site Sets & Routing
If I have understood it correctly, the problem here is present when the root page is created inside a sysfolder?
- Status changed from New to Accepted
- Target version set to next-patchlevel
Got it. The issue lies within PseudoSiteTcaDisplayCondition - we need to fix this by using the RecordStateFactory and RecordState logic!
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 template
the 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/home2
additional 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
- Status changed from Accepted to Under Review
- Target version changed from next-patchlevel to Candidate for patchlevel
- Status changed from Under Review to Accepted
- Status changed from Accepted to Resolved
in the meantime this works now, tested with v13.
- Status changed from Resolved to Closed
Also available in: Atom
PDF