Project

General

Profile

Actions

Bug #84618

open

Not possible to translate a record when allowLanguageSynchronization is set for relation field like 'image' in tt_content

Added by Helmut Hummel over 6 years ago. Updated 7 months ago.

Status:
Accepted
Priority:
Should have
Assignee:
-
Category:
DataHandler aka TCEmain
Target version:
-
Start date:
2018-04-04
Due date:
% Done:

0%

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

Description

Szenario:

tt_content record of type image in default language with one image (default language en)
translated tt_content record in one language with individual image(s) selected in this record (language dk)

Action:
translate the record in a third language with selecting the translated (dk) record as source.

Expectation:
A translated record is created with sync set to translation source

Actual:
exception is thrown and image(s) in dk record is multiplied


Related issues 1 (1 open0 closed)

Related to TYPO3 Core - Bug #84998: sys_language uid isn't updated when parent records sys_languge_uid changesNew2018-05-14

Actions
Actions #1

Updated by Helmut Hummel over 6 years ago

Same scenario works well with text fields, but not with relational fields

Actions #2

Updated by Frans Saris over 6 years ago

  • Related to Bug #84998: sys_language uid isn't updated when parent records sys_languge_uid changes added
Actions #3

Updated by Nicole Cordes about 6 years ago

  • Status changed from New to Accepted

Behavior in current master: the overlay is never hidden anymore. An exception is thrown but not display anywhere. I had even three images assigned to the existing database record (dk)

Actions #4

Updated by Susanne Moog almost 5 years ago

  • Sprint Focus set to On Location Sprint
Actions #5

Updated by Susanne Moog over 4 years ago

  • Category set to DataHandler aka TCEmain
Actions #6

Updated by Oliver Hader about 2 years ago

  • Sprint Focus deleted (On Location Sprint)
Actions #7

Updated by Riccardo De Contardi 7 months ago ยท Edited

I've not understood how to reproduce this one on the latest main (13.2.0-dev) but maybe I am doing something wrong

My scenario:

  • TYPO3 13.2.0-dev
  • Three languages: Italian (uid=0), English (uid=1), French (uid=2)
  • A page translated in all three languages

Test procedure

  1. On the page, create a "Text and Image" Content element in the default language (uid=0) ; add an image, Save and close
  2. Translate the content element in English (uid=1) (connected mode) and add another image only in english, save and close
  3. Translate the content element in French (uid=2) (connected mode), selecting english (uid=1) ad the source language , save and close

Results

  • The record in the default (uid=0) language has ONE image
  • The record in the (uid=1) language has TWO images
  • The record in the (uid=2) language has THE SAME TWO images
  • No duplicated images
  • No error as far as I can tell

Is a different test necessary?

NOTE:

In the page module > Language comparison > All languages on, the column on the "French" language I still see the "Translate button" but it is broken:
If I click on it, it opens the translation wizard modal window but... it is empty! (There are no records left to translate); moreover the "next" button is still clickable, and it leads to an infinite-spinning empty "processing" modal. This is a known bug https://forge.typo3.org/issues/97763

Actions

Also available in: Atom PDF