Issue Bug Closed

#83823Language Overlay / removal of records in extbase also done for IRRE records if parent record (relation value) does not have translation enabled

Andreas Allacher 02/09/18, 13:55 updated 01/01/19, 16:13

Description

Hi,

the following scenario:
  1. Record without translation option as it only contains e.g. double values
  2. Record contains file FAL field
  3. Link a file to that file field, creates a sys_file_reference (removed title etc. field, those shall be maintained at File List directly)
  4. Now set langauge mode to strict
  5. Display non default language of record will remove the related file as it tries to translate it. However, as a file reference can only be translated at the record it is related to (hideTable) this doesn’t make sense if the parent record cannot be translated
  6. Manually setting various query settings doesn’t work either as the QuerySettings from the parent record are not used when fetching related records but their own QuerySettings are created.

As a workaround I created a getRecordOverlay hook and check the tablenames and only do the overlay if it isn’t the corresponding tablename but that is unnecessary complex.

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.