Bug #91942
closedJavaScript IRRE Handling spoils DataHandler
100%
Description
- Website with Default Language and English Language
- Content Element With one Field of type INLINE
- Insert new CE
- Create Inline item A
- Create Inline item B
- Create Inline item C
- Save
- Translate CE to EN
- Switch back to Default
- Create Inline item D
- Save
- 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.
Updated by Anonymous over 4 years ago
- Related to Bug #91938: Translation of IRRE records breaks UI added
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
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
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
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
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
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
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
Updated by Andreas Fernandez about 4 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset c29f21e4cb6d1fa7ede3ff52d470a5f1908b7f75.