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

Transformations: Prevent FilterByValue transform from crashing panel edit #34747

Merged
merged 1 commit into from May 26, 2021

Conversation

jackw
Copy link
Contributor

@jackw jackw commented May 26, 2021

What this PR does / why we need it:
This PR defends against an undefined field being passed to getMatcherOptions which prevents panel edit from crashing. Adding @leventebalogh as a reviewer as he helped squash it in a quick pairing session this afternoon! ❤️ 🎉

Which issue(s) this PR fixes:

Fixes #34626

Special notes for your reviewer:

@jackw jackw added this to the 8.0.0-beta3 milestone May 26, 2021
@jackw jackw requested a review from a team May 26, 2021 14:17
@jackw jackw self-assigned this May 26, 2021
@jackw jackw requested review from axelavargas, thisisobate and leventebalogh and removed request for a team May 26, 2021 14:17
@torkelo torkelo added old backport v8.0.x Mark PR for automatic backport to v8.0.x add to changelog labels May 26, 2021
@jackw jackw merged commit 515c73d into main May 26, 2021
@jackw jackw deleted the jackw/fix-filterbyvalue branch May 26, 2021 15:30
grafanabot pushed a commit that referenced this pull request May 26, 2021
jackw added a commit that referenced this pull request May 26, 2021
…34747) (#34754)

(cherry picked from commit 515c73d)

Co-authored-by: Jack Westbrook <jack.westbrook@gmail.com>
@hugohaggmark hugohaggmark changed the title Transformations: Prevent FilterByValue transform crashing panel edit Transformations: Prevent FilterByValue transform from crashing panel edit Jun 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Transfrom: FilterByValue transform crashes panel edit when field is not found
2 participants