Task #88511
closed
Useless TCA configuration for pages table
Added by Markus Klein over 5 years ago.
Updated almost 5 years ago.
Category:
Backend User Interface
Description
With #82445 the TCA configuration of the pages table was adjusted and two useless settings where introduced.
'l10n_mode' => 'prefixLangTitle'
may only be set on input fields and not for checkboxes.
- Status changed from Accepted to Under Review
Did it have any side-effects in the database?
By looking into the code it should not have had any... (prefixLangTitle
only for TCA types text
and input
)
if ($fCfg['l10n_mode'] === 'prefixLangTitle') {
if (($fCfg['config']['type'] === 'text' || $fCfg['config']['type'] === 'input') && (string)$row[$fN] !== '') {
No effect in the DB, hence no bug-report.
I found that today, when I was looking at v8 and searching whether nav_hide is actually translatable. Which it is not.
Then I looked in v9 and found that it got no l10n_mode=exclude, hence it is translatable.
Benni suggested to add the sync feature to the fields, which I can agree with.
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
- Status changed from Resolved to Under Review
- Status changed from Under Review to Resolved
- Status changed from Resolved to Closed
Also available in: Atom
PDF