Details
-
Bug
-
Resolution: Fixed
-
High
-
None
Description
When requesting the plaintext output of a richtext field, the system returns an error. This is because the plaintext format is configured, but the resolver (RichTextXmlToPlainText) is not implemented:
https://github.com/ezsystems/ezplatform-graphql/blob/ba2ae941042951245f237fb19026a4ea1e247498/src/Resources/config/graphql/Field.types.yml#L384
1. Install eZ Platform clean install
2. Install GraphQL bundle
4. Open GraphiQL
5. Execute query:
{ content { folders { name description { plaintext } } } }
6. Observe error:
{ "errors": [ { "message": "Internal server Error", "category": "internal", "locations": [ { "line": 6, "column": 9 } ], "path": [ "content", "folders", 0, "description", "plaintext" ] },