Bug #100810
closedSite settings as colPos in BackendLayouts lead to error
100%
Description
Hi,
since I updated to v12, using constants from site settings in Page TSConfig won't work anymore.
This is my page tsconfig:
mod {
web_layout {
BackendLayouts {
default {
title = default
config {
backend_layout {
colCount = 1
rowCount = 1
rows {
1 {
columns {
1 {
name = main
colPos = {$backendLayouts.colPos.main}
}
}
}
}
}
}
}
}
}
}
and my site settings:
backendLayouts:
colPos:
main: 0
If I clear the cache and open a page in the backend it works, but once I reload without clearing the cache it won't work.
The backend just shows "main(No edit access)" for the column. If I use the language comparison view I'll get the following error:
#1476107295 TYPO3\CMS\Core\Error\Exception PHP Warning: Undefined array key "{$backendLayouts.colPos.main}" in /var/www/html/vendor/typo3/cms-backend/Classes/ViewHelpers/LanguageColumnViewHelper.php line 34
Updated by Georg Ringer over 1 year ago
- Status changed from New to Accepted
- Assignee set to Christian Kuhn
- Target version set to Candidate for patchlevel
- Is Regression set to Yes
Updated by Christian Kuhn over 1 year ago
- Related to Feature #97816: New TypoScript parser added
Updated by Gerrit Code Review over 1 year ago
- Status changed from Accepted to Under Review
Patch set 1 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/79496
Updated by Gerrit Code Review over 1 year ago
Patch set 2 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/79496
Updated by Gerrit Code Review over 1 year ago
Patch set 3 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/79496
Updated by Gerrit Code Review over 1 year ago
Patch set 1 for branch 12.4 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/79533
Updated by Christian Kuhn over 1 year ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset e5cd4a30a9df992ad75fef2e633cb665a2fb7b87.