Actions
Bug #70236
closedStory #69617: FormEngine bugs
Backend Forms and localization : readonly fields are empty
Status:
Closed
Priority:
Should have
Assignee:
Category:
FormEngine aka TCEforms
Target version:
Start date:
2015-09-30
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
7
PHP Version:
5.6
Tags:
Complexity:
Is Regression:
No
Sprint Focus:
Stabilization Sprint
Description
Fields with the TCA configuration 'l10n_display' => 'defaultAsReadonly' are not rendered correctly since 7.5. In localized content, the field is empty (not filled with the default language value).
The problem come from the object class "TYPO3\CMS\Backend\Form\Container\SingleFieldContainer" (line 105),
where $this->data['defaultLanguageRow'] doesn't exist. The default language value is never set.
May be, we can use $this->data['defaultLanguageRow'][$fieldName] to define the current value.
Thanks.
Actions