Project

General

Profile

Actions

Bug #91942

closed

JavaScript IRRE Handling spoils DataHandler

Added by Anonymous over 4 years ago. Updated about 4 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2020-08-06
Due date:
% Done:

100%

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

Description

  • Website with Default Language and English Language
  • Content Element With one Field of type INLINE
  1. Insert new CE
  1. Create Inline item A
  2. Create Inline item B
  3. Create Inline item C
  4. Save
  5. Translate CE to EN
  6. Switch back to Default
  7. Create Inline item D
  8. Save
  9. Switch to EN

Now you have this:

and

Now lets produce the BUG:

Change the sorting in EN:

And Save the changes.

Now it looks like this - this will blow your mind (please scroll down only if you can stand it):

"Item D" from Default-Language magically appears in the translation AND disappears in Default Language!

And for the Default CE it of course vanished:

Short: DataHandler changes the "parent" to the translated CE.

Now, I have investigated a little on this.

It is a pure JavaScript Bug (puh - it releaves me a little).

Before you change the sorting, the hidden info looks like:

Once you hit the sorting-buttons, it changes to:

The UID of "Item D" (sys_language_uid=0) appears in the list.
This must not happen. "Item D" was not translated. The UID is from "Item D" with sys_language_uid=0.
Now this explains, why the datahandler re-attaches the parents.

Dear JS Ninjas - please have a look. Thanks for reading and looking at my beautiful screenshots.


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #91938: Translation of IRRE records breaks UIClosed2020-08-05

Actions
Actions

Also available in: Atom PDF