Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#20407 Return original field value if unable to render #20564

Merged

Conversation

dsilvam
Copy link
Contributor

@dsilvam dsilvam commented Jun 22, 2021

Return original field value if unable to render

+ field.variable(), error)
);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do we log the error in velocity?

Copy link
Contributor Author

@dsilvam dsilvam Jun 22, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like this:

12:02:36.456  WARN  strategy.RenderFieldStrategy - Unable to render velocity in field: body
12:02:36.456  WARN  strategy.RenderFieldStrategy - Lexical error,   Encountered: "\"" (34), after : "\\" at *unset*[line 1, column 616]
12:02:36.456  WARN  strategy.RenderFieldStrategy - org.apache.velocity.runtime.RuntimeInstance.evaluate(RuntimeInstance.java:1269)

@wezell

@dsilvam dsilvam merged commit d2e4a85 into release-21.06 Jun 23, 2021
@delete-merged-branch delete-merged-branch bot deleted the issue-20407-return-original-value-if-unable-to-render branch June 23, 2021 14:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Introduce ability to request velocity-rendered fields values in the GraphQL request
4 participants