Project

General

Profile

Actions

Bug #100083

closed

Exception when creating a site with a digit number as identifier

Added by Christian Eßl over 1 year ago. Updated over 1 year ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
-
Target version:
-
Start date:
2023-03-04
Due date:
% Done:

100%

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

Description

When creating a site with only a digit number as idenifier, both the backend and frontend will crash because of a typing error.

TYPO3\CMS\Core\Configuration\SiteConfiguration::getSiteSettings(): Argument #1 ($siteIdentifier) must be of type string, int given, called in /var/www/html/typo3/sysext/core/Classes/Configuration/SiteConfiguration.php on line 150

You just need to open the site module, create a new site with 1 as identifier and TYPO3 will crash.


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #100502: Exception in UpgradeWizard when having a site identifier containing only digits ClosedOliver Bartsch2023-04-06

Actions
Actions

Also available in: Atom PDF