Issue Bug Closed

#63694extbase: strict mode and bug with queries in regards addSysLanguageStatement - e.g. contains ignores different MM translations

Andreas Allacher 12/09/14, 09:32 updated 03/01/19, 18:43

Description

If one uses addSysLanguageStatement with strict mode the generated statement is incorrect.
The reason is that if I use not strict, the translated record is selected if one exist.

If I use strict I only seem to select the translated record IF there is not parent record to it, otherwise I select the parent record If there is a corresponding translations.

This means that for instance if I use a query with “contains” that has different relations in the child record, it still uses the translations of the parent record.
This might also be the case for different translations.

Reviews 1