Project

General

Profile

Actions

Bug #87963

closed

Site configuration / 404 Page not found

Added by IPM no-lastname-given over 5 years ago. Updated 5 months ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
Site Handling, Site Sets & Routing
Start date:
2019-03-20
Due date:
% Done:

0%

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

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

cattura.png (33.2 KB) cattura.png Riccardo De Contardi, 2019-04-26 22:24
cattura2.png (166 KB) cattura2.png Riccardo De Contardi, 2019-04-26 22:26
Actions #1

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".

Actions #2

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?

Actions #3

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

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

Actions #5

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

Actions #6

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

Actions #7

Updated by Benni Mack over 5 years ago

  • Target version changed from next-patchlevel to Candidate for patchlevel
Actions #8

Updated by Susanne Moog about 5 years ago

  • Status changed from Under Review to Accepted

Patch was abandoned.

Actions #9

Updated by Georg Ringer 5 months ago

  • Status changed from Accepted to Resolved

in the meantime this works now, tested with v13.

Actions #10

Updated by Benni Mack 5 months ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF