Issue Bug Closed

#91938Translation of IRRE records breaks UI

Anonymous 08/05/20, 23:25 updated 09/29/20, 15:06

Description

Given:

  • website with 2 languages (default and EN)
  • Content Element of CType “ABC”
  • ABC has a field of type inline (relation to table a)
  • the foreign table has just a field of type input
  1. create page
  2. create content
  3. translate page
  4. translate content
  1. modify content: add another item to the IRRE field
  2. switch over to translated content element

now you see a “grayed out” IRRE item. Next to it a “localize”-button

ISSUE:

You hit the button “localize”.

Wrong behaviour:

The grayed out item remains visible. Another item appears below.

Expected behaviour:

it should create a IRRE-element which replaces the “grayed out” item (as in TYPO3 v9).

Observed JavaScript Error in Browser Console:

InlineControlContainer.js?bust=1596661753:13 Uncaught (in promise) TypeError: t.compilerInput.localize is not iterable
    at VM1957 InlineControlContainer.js:13

See

https://github.com/TYPO3/TYPO3.CMS/blob/10.4/Build/Sources/TypeScript/backend/Resources/Public/TypeScript/FormEngine/Container/InlineControlContainer.ts#L488

Reviews 2