Details
-
Bug
-
Resolution: Fixed
-
High
-
1.5.1
-
None
Description
Objects in ezobjectrelation and ezobjectrelationlist are not properly displayed/fetched when creating multiple language translations
Relation List
When saving related objects with ezobjectrelationlist for a specific translation it will display all related objects for all translations by mistake.
Steps to reproduce
Start with a multi-language setup, with at least two languages (let's consider eng-GB and nor-NO)
- Create a new Content type which includes a ezobjectrelationlist field type
- Create a new content object in English (eng-GB) of the content type you created in the previous step
- In the ezobjectrelationlist field add 3 content objects (any contents object will do)
- Publish your content object
- Create a new translation of the same content object, but this time in Norwegian (nor-NO)
- In the ezobjectrelationlist field of the Norwegian translation add 2 content objects (select different content objects than the English translation)
- Publish your Norwegian translation
If you view or edit any of these two translations 5 related objects will be displayed on the ezobjectrelationlist field (3 + 2).
This seems to happen only of the backend.
Relation
When saving a related object with ezobjectrelationl for a specific translation it will display all related object of the first translations by mistake.
Steps to reproduce
Start with a multi-language setup, with at least two languages (let's consider eng-GB and nor-NO)
- Create a new Content type which includes a ezobjectrelation field type
- Create a new content object in English (eng-GB) of the content type you created in the previous step
- In the ezobjectrelation field link to a content
- Publish your content object
- Create a new translation of the same content object, but this time in Norwegian (nor-NO)
- In the ezobjectrelation field of the Norwegian translation add a different content object as the english translation
- Publish your Norwegian translation
If you view or edit the Norwegian translation, the related content will be the one from the english one.
Attachments
Issue Links
- is duplicated by
-
EZP-25699 Back-office : wrong related object displayed on a content translation
- Closed
- relates to
-
EZP-25698 Translating a content is always based on initial language
- Closed
-
EZP-23000 Object relation(s) field value should provides REST id(s)
- Closed
-
EZP-26342 Nonexistent object in ezobjectrelationlist results in error 500
- Closed
- testing discovered
-
EZP-26381 Ezobjectrelation on the frontend misses the link to the related object
- Closed
- links to