Skip to content

[Reporting] Queuing reporting jobs fails due to "invalid rison" #60154

@tsullivan

Description

@tsullivan

Kibana version: 7.6

Elasticsearch version: 7.6

Server OS version: n/a

Browser version: n/a

Browser OS version: n/a

Original install method (e.g. download page, yum, from source, etc.):

Describe the bug:
An Invalid rison error blocks Reporting from queuing a job, although the rison validly parses.

The error is an incorrect representation of what is being caught, due to the job handler placed in the wrong block of code:

Looks like a bad merge that was uncaught until now, plus an absence of tests for the job generation route handler.

Steps to reproduce:

  1. License type: trial, possibly expired
  2. Some error is being thrown from this handler function, which is moved around in this commit: 4008783#diff-ff24641f42fa4d830639cec828010b7aR70

Expected behavior:
The actual handler error should be thrown, not "invalid rison"

Screenshots (if relevant):

Errors in browser console (if relevant):

Provide logs and/or server output (if relevant):

Any additional context:
An error response was caught in a HAR:

            "text": "{\"statusCode\":400,\"error\":\"Bad Request\",\"message\":\"invalid rison: (browserTimezone:America/Phoenix,layout:(dimensions:(height:720,width:1080),id:preserve_layout),objectType:'canvas workpad',relativeUrls:!(/app/canvas#/export/workpad/pdf/workpad-eb0dd38e-0cba-4a5a-8bcb-27fdae4b1b51/page/1),title:'My Canvas Workpad')\"}"

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions