Project

General

Profile

Actions

Bug #91995

open

It's not possible to handle the case "no site config yaml found" for a domain like an error (e.g. 404 or 503)

Added by S P over 4 years ago. Updated over 1 year ago.

Status:
Accepted
Priority:
Should have
Assignee:
-
Category:
Site Handling, Site Sets & Routing
Target version:
-
Start date:
2020-08-13
Due date:
% Done:

0%

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

Description

We have a big TYPO3 setup with hundreds of domains, all configured via site config yaml files.

If - by whatever accidental reason - a domain is pointing to the TYPO3 system that was NOT configured as a site yaml, then the first "pseduo site" is used instead (which usually is the first is_siteroot = 1 found in the page tree). Then this domain displays totally unrelated and random content.

It's OK to show the first site from the page tree if NO yaml exists at all (to make life easier for beginners or small setups). But as soon as site config yamls exist, a domain that was not configured should not start displaying some random content from a totally arbitrary place in the page tree (which can even change if moving nodes around).

In our case we'd like to show the action configured in [FE][pageNotFound_handling].

It must be posible to handle unconfigured domains somehow.

I flagged this as regression because with ext:realurl this was possible. Realurl then exited at least with a 500 error because the resolution of the rootpage id was ambigious.


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Task #88376: Remove legacy "pageNotFound_handling" optionsClosedBenni Mack2019-05-16

Actions
Actions

Also available in: Atom PDF