Actions
Bug #91778
closedLocalization wizard missing with rendermode selectTree (allowLanguageSynchronization)
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
FormEngine aka TCEforms
Target version:
-
Start date:
2020-07-10
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
10
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
Two years ago, this issue has already been tackled and solved at bug #84564
In March 2019 this feature has been broken by commit 6c512f2e,
where the values of $readOnly have been changed from 'true'/'false' to 0/1:
$readOnly = !empty($config['readOnly']) ? 1 : 0;
However, the condition to show the $fieldWizardHtml still checks for 'false',
which can never be true if $readOnly equals 0 or 1:
if ($readOnly === 'false' && !empty($fieldWizardHtml)) {
$html[] = '<div class="form-wizards-items-bottom">';
$html[] = $fieldWizardHtml;
$html[] = '</div>';
}
Please see typo3/sysext/backend/Classes/Form/Element/SelectTreeElement.php
lines 84 and 173.
Right now, the language synchronization of page categories can still be enabled with
$GLOBALS['TCA']['pages']['columns']['categories']['config']['behaviour']['allowLanguageSynchronization'] = true;
and it works fine, but editors can't turn off this behaviour for individual pages.
Actions