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

Asset Browser selected assetId and modelId should reset after region changes #329

Open
chejimmy opened this issue Jun 14, 2024 · 0 comments
Labels
datasource/Sitewise type/bug Something isn't working

Comments

@chejimmy
Copy link
Contributor

chejimmy commented Jun 14, 2024

What happened:

Asset Browser stuck in loading state after region changes

What you expected to happen:

Asset Browser to display assets

How to reproduce it (as minimally and precisely as possible):

Description of the flow under screenshots

  1. select any query type with "Explore" button
  2. select an asset
  3. change region to a different region
  4. click "Explore" button and observe loading state

Screenshots

Spinning

spinning.mov

Network error

spinning-network.mov

Anything else we need to know?:

The error is "failed to fetch query data: ResourceNotFoundException: Asset with ID xxxx not found", since the assetId set for the previous region does not exist in another region.
To fix the problem, Asset Browser selected assetId and modelId should reset after region changes

Environment:

  • Grafana version:
  • Plugin version:
  • OS Grafana is installed on:
  • User OS & Browser:
  • Others:
@chejimmy chejimmy added datasource/Sitewise type/bug Something isn't working labels Jun 14, 2024
@iwysiu iwysiu moved this from Incoming to Next in AWS Datasources Jun 17, 2024
@katebrenner katebrenner moved this from Next to Backlog in AWS Datasources Jul 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
datasource/Sitewise type/bug Something isn't working
Projects
Status: Backlog
Development

No branches or pull requests

1 participant