Issue Bug Rejected

#79934Localized one/many to many not mapped correctly

Axel Helmert 02/21/17, 09:57 updated 09/26/18, 20:09

Description

We’ve experienced issues when defining a reference like a file reference with \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::getFileFieldTCAConfig() in TCA and translating the record in the TYPO3 list Module.
This is not limited to file references, it also affects any field defined with type inline and [behaviour][localizationMode] = ‘select’.

Steps to reproduce:

  1. Define a domain model with a file reference.
  2. Create a page with multiple languages
  3. Create a record for your domain model in the TYPO3 list module
  4. Translate this record to another language
  5. In the translation record change the file reference to another file

Actual behavior:

In backend everything looks file the Default language of the record has file A and the translation record has file B.
In the frontend however, the record itself seems to be translated when switching languages, but always references file A.

Expected behavior:
The translated record should have a reference to file B in frontend.

I have implemented a fix and will push it to gerrit.

Reviews 2