Details
-
Bug
-
Resolution: Fixed
-
Medium
-
2.5.0-beta2
Description
It's not possible to get a query image assets variations using GraphQL, as it ends with an error.
Steps to reproduce:
1. Login as admin
2. Create a new Content Type named "MyImageAsset"
3. Add image asset fieldtype
4. Create a Content Item using that Content Type
5. Regenerate GraphQL schema and clear cache
6. Enter query similar to:
{ content { myimageasset(locationId: 57) { newEzimageasset1 { variations(identifier:[small]) { name } } } } }
result:
{ "errors": [ { "debugMessage": "Property 'value' not found on class 'eZ\\Publish\\Core\\FieldType\\Image\\Value'", "message": "Internal server Error",