Actions
Bug #89077
openUse of Environment Variable in SiteConfiguration produces unexpected behaviour in the backendmodule
Status:
New
Priority:
Should have
Assignee:
-
Category:
Site Handling, Site Sets & Routing
Target version:
-
Start date:
2019-09-04
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
12
PHP Version:
8.2
Tags:
yaml env
Complexity:
Is Regression:
Sprint Focus:
Description
If in config.yaml the value
rootPageId: "%env(rootpage_id)%"
is set, the listing in the backend-module works fine, but if you try to edit the site configuration, the field rootPageId show a "Not allowed" Message and all languagesettings are gone.
Updated by Mirko Schade over 3 years ago
This also exists in TYPO3 10.4.17. The configuration still works, just the backend view is broken as described by Daniel.
Updated by Daniel Hoffmann over 1 year ago
- TYPO3 Version changed from 9 to 12
- PHP Version changed from 7.2 to 8.2
Also exists in v12, produces a php warning when opening the details of the site configuration.
Updated by Georg Ringer 5 months ago
warning can be fixed with
$siteConfigurationForPageUid = (int)($result['databaseRow']['rootPageId'][0] ?? $result['databaseRow']['rootPageId']);
but don't know how to proceed there, sry
Actions