Bug #81587
closedQuestionable behaviour of l10n_mode "exclude" in list module
0%
Description
I'm currently in the process of upgrading a TYPO3 7.6.16 instance to 8.7.1.
If I configure a field as
return [ 'ctrl' => [ [...] 'label' => 'subject', [...] 'subject' => [ 'exclude' => 0, 'l10n_mode' => 'exclude', 'label' => 'LLL:EXT:calendar/Resources/Private/Language/locallang_db.xlf:tx_calendar_domain_model_event.subject', 'config' => [ 'type' => 'input', 'size' => 30, 'eval' => 'trim' , ],
I have to import the default languages subject in both languages during record-creation, for it to be displayed in the list-module, even if I don't want the subject to be editable in the backend.
If the translated records subject is empty in the database, shouldn't the default records label getting displayed for less BE-editor confusion?
Best regards
Christian
Files
Updated by Oliver Hader over 7 years ago
- Status changed from New to Needs Feedback
This issue has been tagged with "IRRE". Can you please provide the full TCA configuration and describe how this is related in inline-relational-record-editing context? Thx
Updated by Christian Richter over 7 years ago
- Tags changed from l10n, irre, translation to l10n, translation
I'm sorry, this issue is not related to IRRE at all.
That was a mistake!
Updated by Alexander Opitz about 7 years ago
Hi,
does this issue happens with latest TYPO3 8 LTS? (8.7.8)
Updated by Mathias Schreiber almost 7 years ago
- Is Regression deleted (
Yes)
Can you explain what you mean by "import records"?
The main issue here is that TYPO3s DataHandler will copy the values over from default to translated.
So if you create a translated record in the DB yourself, you need to get the value from its language parent yourself and add said value to the respective field.
Updated by Mathias Schreiber almost 7 years ago
- Assignee set to Mathias Schreiber
Updated by Oliver Hader almost 7 years ago
On using l10n_mode=exclude the values in localized records are only updated if the language default record (l10n_parent record) is updated.
I guess in this case the localized record is directly imported (without using the "localize" command in DataHandler). In this case, the accordings field "subject" is sanitized since it cannot be modified in localizations directly but is triggered when the language default records get updated.
Updated by Alexander Opitz over 6 years ago
- Status changed from Needs Feedback to Closed
- Assignee deleted (
Mathias Schreiber) - Target version deleted (
next-patchlevel)
No feedback within the last 90 days => closing this issue.
If you think that this is the wrong decision or experience this issue again, then please write to the mailing list typo3.teams.bugs with issue number and an explanation or open a new ticket and add a relation to this ticket number.