[Reporting/Maps] Background tiles in a map panel might not load in a screenshot report #131005
Labels
bug
Fixes for quality problems that affect the customer experience
(Deprecated) Feature:Reporting
Use Reporting:Screenshot, Reporting:CSV, or Reporting:Framework instead
[Deprecated-Use Team:Presentation]Team:Geo
Former Team Label for Geo Team. Now use Team:Presentation
impact:high
Addressing this issue will have a high level of impact on the quality/strength of our product.
Kibana version: 7.9+
Original install method (e.g. download page, yum, from source, etc.): ECE
Describe the bug:
A Map panel waits for ES data to load and rendering of the data to complete, but it isn't aware of the requests for the background tiles that are also necessary for rendering.
When all the data is loaded and rendered in the panel, a dashboard panel gives itself an attribute in the HTML code that Reporting can detect. The Map panel updates the HTML code for Reporting, without knowing about the loading state of the background tiles. Therefore, a timing issue exists where Reporting may take a screenshot of the page before it should.
Steps to reproduce:
Expected behavior:
The map should have image tiles rendered behind the data.
Instead, the data is present but the tiles are blank.
Screenshots (if relevant):
Errors in browser console (if relevant):
No errors
Provide logs and/or server output (if relevant):
Any additional context:
Side note: in one case, PDF reports consistently load with all the background tiles, whereas PNG reports sometimes look OK, but sometimes have missing background tiles. It seems there is a detail about the implementation that could be making the difference, and that merits further investigation.
The text was updated successfully, but these errors were encountered: