Bug #87963
closedSite configuration / 404 Page not found
0%
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
Updated by IPM no-lastname-given over 5 years ago
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".
Updated by Riccardo De Contardi over 5 years ago
- 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?
Updated by Benni Mack over 5 years ago
- 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!
Updated by Riccardo De Contardi over 5 years ago
- File cattura.png cattura.png added
- File cattura2.png cattura2.png added
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
Updated by Gerrit Code Review over 5 years ago
- Status changed from Accepted to Under Review
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/60677
Updated by Gerrit Code Review over 5 years ago
Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/60677
Updated by Benni Mack over 5 years ago
- Target version changed from next-patchlevel to Candidate for patchlevel
Updated by Susanne Moog about 5 years ago
- Status changed from Under Review to Accepted
Patch was abandoned.
Updated by Georg Ringer 5 months ago
- Status changed from Accepted to Resolved
in the meantime this works now, tested with v13.