Project

General

Profile

Actions

Bug #75850

closed

Extbase sys_language_mode + l10n_mode exclude

Added by Matthias Krappitz over 8 years ago. Updated about 8 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Extbase
Target version:
-
Start date:
2016-04-21
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
7
PHP Version:
7.0
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

If you have translated TCA records and some fields in them with l10n_mode set to "exclude" (e.g. for images that don't need to be translated) they are only returned by the images getter in the domain model of extbase in a non-default language if the config.sys_language_mode is set to "content_fallback".
If you set config.sys_language_mode to "strict", which you might need, if you don't want untranslated records to display in a non-default language, the images are not returned any more in a non-default language. The images getter returns an empty \TYPO3\CMS\Extbase\Persistence\ObjectStorage in this case. The rest of the strict behaviour works though. Untranslated records are not returned any more.
So I assume the strict behaviour is taken into account a bit too far here and should not be considered for fields in translated records with l10n_mode set to "exclude".
If there is more info to help to clear this up necessary, please tell me.


Related issues 1 (0 open1 closed)

Is duplicate of TYPO3 Core - Bug #62921: l10n_mode with relations does not work in ExtbaseClosed2014-11-13

Actions
Actions

Also available in: Atom PDF