Project

General

Profile

Actions

Bug #83823

closed

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

Added by Andreas Allacher about 6 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Extbase + l10n
Target version:
-
Start date:
2018-02-09
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
8
PHP Version:
7.0
Tags:
Complexity:
Is Regression:
Sprint Focus:

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.

Actions

Also available in: Atom PDF