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

Variables: Fixes issue when variable value was null #985

Merged
merged 4 commits into from
Dec 3, 2024

Conversation

torkelo
Copy link
Member

@torkelo torkelo commented Dec 2, 2024

Fixes grafana/grafana#96140

A missed code in the old system was this:
https://github.com/grafana/grafana/blob/main/public/app/features/variables/state/sharedReducer.ts#L157

Where any non string text or value value was replaced with an empty string

@torkelo torkelo requested review from dprokop, axelavargas, ivanortegaalba and kaydelaney and removed request for dprokop December 2, 2024 15:40
@torkelo torkelo added type/bug Something isn't working minor Increment the minor version when merged labels Dec 2, 2024
@torkelo torkelo merged commit 3b6cfee into main Dec 3, 2024
3 checks passed
@torkelo torkelo deleted the fix-variable-value-null branch December 3, 2024 05:19
@scenes-repo-bot-access-token
Copy link

🚀 PR was released in v5.29.0 🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
minor Increment the minor version when merged released type/bug Something isn't working
Projects
Status: 🚀 Done
Development

Successfully merging this pull request may close these issues.

NULL variable replacement
2 participants