Epic #86307: Extbase allows to fetch deleted/hidden records (respects ignoreEnableFields)
setIgnoreEnableFields() should be inherited to language overlays
Using the setIgnoreEnableFields() for query settings in an extbase repository fails, when the record gets an language overlay. It should be inherited to the overlay query.
The usage of the enable fields for the query of the language overlay is pretty much hardcoded in
In addition the logic of the language overlay for Extbase record is inconsistent:
E.g.: Providing that starttime has l10n_mode "mergeIfNotBlank" (which is default), a translation of a record can be shown, even if its l10_parent is still hidden – only the enable fields of the translated record matter (which is OK). The other way around, requesting the record from an Extbase repository does not work, as both records (original and translation) need to allow for display of the record in order to show the translation.