Important: #111329 - Extbase returns records without default language in fallback mode
See forge#111329
Description
Records can be created directly in a language other than the default language,
without a record in the default language they are translated from
(
l10n_). These records are often called "floating" records.
For site languages with
fallback, Extbase repositories
did not return such records, whereas the TypoScript content object
CONTENT
and
Page did. For site
languages with
fallback, both already returned them.
Extbase queries now also include these records for
fallback (
Language), so
Extbase plugins and TypoScript return the same records. This also applies to
the result of
Query.
Extension authors whose plugins run on sites with
fallback should check whether records without a default
language record now appear in their output, for example in lists or
paginations. If these records must not be shown, exclude them in the
repository query, for example with a constraint on the translation parent
field.