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

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

Closed
tsullivan opened this issue Mar 13, 2020 · 0 comments · Fixed by #60161
Closed

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

tsullivan opened this issue Mar 13, 2020 · 0 comments · Fixed by #60161
Assignees

Comments

@tsullivan
Copy link
Member

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')\"}"
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 a pull request may close this issue.

1 participant