Actions
Bug #90642
closedReload when changing fallBackType is not needed anymore
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Site Handling, Site Sets & Routing
Target version:
-
Start date:
2020-03-04
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
10
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
Before "Free mode" was introduced again, the fallbacks were only shown if "fallBackType" was set to "fallback" and thus the reload was needed. Now they are always shown, if the languageUid is > 0.
TCA for fallbackType and fallbacks
'fallbackType' => [ 'label' => 'LLL:EXT:backend/Resources/Private/Language/locallang_siteconfiguration_tca.xlf:site_language.fallbackType', 'displayCond' => 'FIELD:languageId:>:0', ---> 'onChange' => 'reload', 'config' => [ 'type' => 'select', 'renderType' => 'selectSingle', 'items' => [ ['Strict: Show only translated content, based on overlays', 'strict'], ['Fallback: Show default language if no translation exists', 'fallback'], ['Free mode: Ignore translation and overlay concept, only show data from selected language', 'free'], ], ], ], 'fallbacks' => [ 'label' => 'LLL:EXT:backend/Resources/Private/Language/locallang_siteconfiguration_tca.xlf:site_language.fallbacks', ---> 'displayCond' => 'FIELD:languageId:>:0', 'config' => [ 'type' => 'select', 'renderType' => 'selectMultipleSideBySide', 'items' => [ ['Default Language', 0], ], 'foreign_table' => 'sys_language', 'size' => 5, 'min' => 0, ], ],
Updated by Gerrit Code Review over 4 years ago
- Status changed from New to Under Review
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/63606
Updated by Gerrit Code Review over 4 years ago
Patch set 1 for branch 9.5 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/63583
Updated by Christian Eßl over 4 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset d577b18fd9e29e7208dc8c9a1515dff2b1de9043.
Actions