Bug #77754
closedTypo3DbQueryParser does not respect enablefields for translated objects
0%
Description
The method getSysLanguageStatement adds the deleted clause in the subquery for selecting the default uids from the l10n_parent field but it does not respect the enablefields (hidden, startdate, ...)
This causes problems when the translated record is set to hidden but the record in the original language is not.
Example (tx_news):
1. Place a list plugin with limit = 1, sortby = date descending
2. Create a new news in the default language (make sure that it shows up)
3. Translate the news to any other language (and enable it)
4. Create a new news in the default language with a newer date (make sure that it shows up)
5. Translate the news to any other language (and leave it disabled)
6. In the frontend switch to the other language.
Expected Behaviour:
- The non-hidden translated news record is shown.
Actual Behaviour:
- No news record is shown.
Updated by Wouter Wolters over 8 years ago
Thanks for the report. There are quite a few tickets already about language handling in extbase and the problems there.
I close this one now in favor of the already existing tickets. Please continue in https://forge.typo3.org/issues/77298