Issue Bug Closed

#87963Site configuration / 404 Page not found

IPM no-lastname-given 03/20/19, 14:39 updated 07/09/24, 12:00

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

  1. IPM no-lastname-given commented 03/25/19, 08:29

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

  2. 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?

  3. Benni Mack commented and changed status New Accepted target version 04/26/19, 22:21

    Got it. The issue lies within PseudoSiteTcaDisplayCondition – we need to fix this by using the RecordStateFactory and RecordState logic!

  4. 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 template

    the following image sums up the setup:

    cattura.png

    3) create a new site configuration for “home2”, the folowwing image sums up its configuration:

    cattura2.png

    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

  5. Gerrit Code Review pushed patch set 1 for master to change 60677 status Accepted Under Review 05/06/19, 17:17

  6. Gerrit Code Review pushed patch set 2 for master to change 60677 05/06/19, 17:19

  7. Benni Mack changed target version 05/07/19, 12:28

  8. Susanne Moog commented and changed status Under Review Accepted 08/29/19, 20:19

    Patch was abandoned.

  9. Georg Ringer commented and changed status Accepted Resolved 06/11/24, 17:57

    in the meantime this works now, tested with v13.

  10. Benni Mack changed status Resolved Closed 07/09/24, 12:00