Details
-
Bug
-
Resolution: Unresolved
-
Medium
-
None
-
3.2.8
-
None
-
eZ Platform
Description
Field is always null when a ezobjectrelationlist has a relation to a FileContent.
Reproduce:
- Add to a Content with a ezobjectrelationlist one or more File(s)
- Send GraphQL Query to fetch the Files
Example Request:
query RYourContent($id: Int) { _repository { location(locationId: $id) { content { __typename ... on YourContent { someRelationList { __typename ... on FileContent { id } } } } } } }
Actual Behavior:
Response:
{ "data": { "_repository": { "location": { "content": { "__typename": "YourContent", "someRelationList": [ null, null ] } } } } }
Expected:
List of someRelationList should have a __typename and id