[TYPO3-mvc] Extbase and sys_language_mode=content_fallback
Sven Burkert
bedienung at sbtheke.de
Tue Jan 12 19:25:46 CET 2016
I think this is an Extbase bug but I am not sure:
I have a page which lists some records (Extbase plugin). The records can be filtered. I open the page in an alternative language (sys_language_uid=1) and, because no record is translated and I have set config.sys_language_mode to "content_fallback", I see the records from default language. I use a filter (e.g. show only records of a specific category) and the records are filtered. That's fine so far.
Now I translate a record to sys_language_uid=1 and reload the page with the filteres records. The translated record vanished. That's only if the category field has setting "l10n_mode=exclude", so the categories aren't available in the translated record and they aren't stored in the database record.
You can reproduce this behaviour with ext. "news", if you set
$GLOBALS['TCA']['tx_news_domain_model_news']['columns']['categories']['l10n_mode'] = 'exclude';
When you do that and filter a news list by category, the translated news won't show up.
What's the solution for this?
More information about the TYPO3-project-typo3v4mvc
mailing list