VolkovLabs / business-media

The Business Media panel is a Grafana plugin that renders PNG, JPG, GIF, MP4, WEBM, MP3, OGG, and PDF files encoded in the base64 format and URL.
https://docs.volkovlabs.io
Apache License 2.0
24 stars 3 forks source link

Panel stuck on No Results Message and wont refresh #149

Open AlmiS opened 5 days ago

AlmiS commented 5 days ago

I am experiencing issues when using the panel to display images. The data for the panel is loaded in base64 format from a JSON api using the Infinity plugin. The query is setup such that a dashboard variable controls which data is loaded from the API. Everything works as expected and images are shown correctly, except in the following case:

If the query does not return any results, eg. the query does not fail it just returns no rows, then the panel shows the "No Results Message" as expected. However, when I then change the dashboard variable, the query updates and returns rows, but the panel fails to refresh. Using a table view instead, I can see that the query and data does refresh, but the media panel seems stuck at the "No Results Message".

Any help fixing this issue would be greatly appreciated! Thanks

Grafana version: 11.3.1 Business Media Plugin: 6.1.0

mikhail-vl commented 5 days ago

@AlmiS Thank you for reporting the issue.

Grafana 11.3 has breaking changes in the way how panel reacts to the refresh event and we may need to update panel accordingly. We will look into it.