Translation didn't sort Elements correct.
This bug was found in TYPO3 7.6 and reproduced now in TYPO3 8.7
Whats the Bug¶
The bug is that the sorting of content elements can be different between the original language and a translation.
How can I reproduce the bug¶
1.) Create a new Page A
2.) Create a new Content Element A on Page A
3.) Translate the Page A and the Content Element A to another Language
4.) Create a new Page B
5.) Create a new Content Element B on Page B
6.) Translate the Page B to the same Language to which you translate Page A. Do not translate any Content Element now only the Page.
7.) Copy the Content Element A from Page A to Page B. The Translation of the Content Element A should be copied with the default Element.
8.) Translate now the Content Element B on Page B
Now the Content Element A and the Content Element B do not have the same sorting in both languages. Because sorting in the foreign language is not available you can not sort the elements in the correct order.
This behaviour was tested on TYPO3 7.6.16 and 8.7.17
A video of the reproduction in TYPO3 8.7 can be found in file section below.
How could this Bug be fixed¶
In my opinion we are having two possible solutions for this way
1. Check at every translation the original sorting. And Update it if nessecary for all other languages.
2. Don't block the sorting function, when you translate content elements.