The relations used are all in the context of a relation list datatype. for tests, add a relationlist to the "article" class.
When an object has more than one language, editing the main language will only update the related objects with the ones declared in the main translation. secondary translations add all related objects.
1 - use a class C with a relationlist field
2 - create a C object in ENG, add one object X (any object is good) to the relation list, publish
3 - object C shows 1 relation in the tab
4 - edit a new translation FRE, add two objects to list different from X, publish
5 - relations tab shows 3 objects
6 - edit the ENG translation, publish
7 - relations tab shows only 1 object again, wrong
using the query
select * from ezcontentobject_link where from_contentobject_id = <id created in step 1>
after each of the above steps, we can check that as new versions are created:
- if the version is from main language, only the related object in that version is added.
- if version is another language, all related objects are added.
in test example below, the versions 1,3,5 refer to the main ENG translation: