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] A report for a deleted Canvas workpad fails for the wrong reason #44305

Closed
tsullivan opened this issue Aug 28, 2019 · 3 comments · Fixed by #58683
Closed

[Reporting] A report for a deleted Canvas workpad fails for the wrong reason #44305

tsullivan opened this issue Aug 28, 2019 · 3 comments · Fixed by #58683
Labels
bug Fixes for quality problems that affect the customer experience Feature:Canvas impact:medium Addressing this issue will have a medium level of impact on the quality/strength of our product. Team:Presentation Presentation Team for Dashboard, Input Controls, and Canvas

Comments

@tsullivan
Copy link
Member

tsullivan commented Aug 28, 2019

Kibana version: master / 7.4.0

Elasticsearch version: n/a

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.): source

Describe the bug:
Reporting detects problems on the Kibana page by looking for euiToastHeader elements, which are unexpected when Kibana is rendering a visualization for export. This helps the situation when a POST URL has been saved for a reporting job, but the underlying visualization or saved object in Kibana has been deleted. However, this is not working in Canvas, because Canvas doesn't always use euiToastHeader

Steps to reproduce:

  1. Generate a POST URL for a Canvas workpad PDF report
  2. Delete the workpad
  3. Run the POST URL

Expected behavior:
Reporting should fail with a Saved object is missing message. Instead, it fails with a timeout error.

The only helpful message here is a debug level message:
server log [10:56:09.194] [debug][browser][execute][jzvk8xcl0n2rcbae0cfn0lcf][printable_pdf][reporting] Failed to load resource: the server responded with a status of 404 (Not Found)

Screenshots (if relevant):
Screen Shot 2019-08-28 at 11 04 23 AM

Errors in browser console (if relevant):

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

Any additional context:

@tsullivan tsullivan added the Team:Presentation Presentation Team for Dashboard, Input Controls, and Canvas label Aug 28, 2019
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-canvas

@timductive
Copy link
Member

Related to #43715

@timductive timductive added bug Fixes for quality problems that affect the customer experience impact:medium Addressing this issue will have a medium level of impact on the quality/strength of our product. labels Sep 6, 2019
@tsullivan
Copy link
Member Author

This is a low priority issue for Reporting. The 404 puts an error on the browser javascript console, which the Reporting headless browser picks up and logs as an error.

So the failure reason will still be timeout, but there is more information in the logs by default now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Fixes for quality problems that affect the customer experience Feature:Canvas impact:medium Addressing this issue will have a medium level of impact on the quality/strength of our product. Team:Presentation Presentation Team for Dashboard, Input Controls, and Canvas
Projects
None yet
4 participants