Actions
Bug #60613
closedExtbase Persistence has wrong language fallback when records are translated in any other language
Start date:
2014-07-27
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
6.1
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:
Description
Currently when TYPO3 is configured to do language fallback
and a record is translated in language A, but not
in language B and language B is requested, then this
record is excluded.
This is the case because of a wrong subselect condition.
Extbase selects records in the requested translation
or if no translation is available in the default language.
However the check if translation is available looks
for any translation not only for a translation in the
requested language. Thus the record from the default
language is not selected at all if there are translations
available in any other language.
Solution is to change the subselect condition to check
for the currently requested language.
Actions