Skip to content

[Bug] Expressions Service: Render swallows rendering errors #51153

@Dosant

Description

@Dosant

Kibana version: 7.6

Describe the bug:

There is no default error handling inside

render = (data: Data, extraHandlers: IExpressionRendererExtraHandlers = {}) => {

So visualisations which are using it directly might be missing error handling (previously it was notification service snackbar).

Need to rethink error handling API of expression service to be able to use notification service by default from within render.ts

Reproduce:

  1. Go to vertical bar chart visualisation
  2. In advanced settings put valid json, e.g. {"a":false}
  3. Nothing happens

Expected:
In 7.5.0 there is an error:
Screenshot 2019-11-20 at 13 32 20

Metadata

Metadata

Assignees

Labels

bugFixes for quality problems that affect the customer experiencev7.6.0

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions