Epic #86307: Extbase allows to fetch deleted/hidden records (respects ignoreEnableFields)
Insufficient sysLanguageStatement does not respect enableFields for translations
The statement added to sql queries to load translated entities only respects the deleted falg.
If you define the starttime, endtime, hidden and feaccess features for translations no filters are applied on queries.
This results in a QueryResult containing a number of X Rows.
After mapping those elements will be hidden because in languageOverlay the fields ARE respected.
In my case i display the number of results found by the orm, followed by a paginated widget showing those results.
So it says "11 Results found"
But only 6 Results are rendered.
If additional enablefields are configured and not set as l10n_mode=exclude they must be appended as well.
This can be solved without touching anything else in the translation setup, a patch would only affect the subquery statement
The bug exists in 6.2 and 7 LTS
Updated by Susanne Moog over 1 year ago
- Status changed from Needs Feedback to Closed
Extbase language handling was reworked and no feedback here for quite some time, closing the issue now. If you still have problems with this, please open a new issue with steps to reproduce and example code. Thanks!