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 #1

Updated by Anonymous over 4 years ago

  • Related to Bug #91938: Translation of IRRE records breaks UI added
Actions #2

Updated by Andreas Kienast over 4 years ago

  • Status changed from New to Accepted
Actions #3

Updated by Gerrit Code Review over 4 years ago

  • Status changed from Accepted to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/65214

Actions #4

Updated by Gerrit Code Review over 4 years ago

Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/65214

Actions #5

Updated by Gerrit Code Review over 4 years ago

Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/65214

Actions #6

Updated by Gerrit Code Review over 4 years ago

Patch set 4 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/65214

Actions #7

Updated by Christian Kuhn about 4 years ago

great issue description. thank you!

Actions #8

Updated by Gerrit Code Review about 4 years ago

Patch set 5 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/65214

Actions #9

Updated by Gerrit Code Review about 4 years ago

Patch set 1 for branch 10.4 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/65455

Actions #10

Updated by Gerrit Code Review about 4 years ago

Patch set 2 for branch 10.4 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/65455

Actions #11

Updated by Andreas Fernandez about 4 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #12

Updated by Benni Mack about 4 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF