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

Fix public actions endpoint to handle empty user field #3053

Merged
merged 3 commits into from
Sep 26, 2023

Conversation

mderynck
Copy link
Contributor

@mderynck mderynck commented Sep 21, 2023

What this PR does

Fixes a regression that was introduced when actions were remapped to new webhooks. Validation in the serializer was making the user field no longer accept blank and None values. This PR makes those values accepted again.

Which issue(s) this PR fixes

grafana/terraform-provider-grafana#1025

Checklist

  • Unit, integration, and e2e (if applicable) tests updated
  • Documentation added (or pr:no public docs PR label added if not required)
  • CHANGELOG.md updated (or pr:no changelog PR label added if not required)

@mderynck mderynck added the pr:no public docs Added to a PR that does not require public documentation updates label Sep 21, 2023
@mderynck mderynck changed the title Fix field for remapping user to accept blank and null as it was befor… Fix public actions endpoint to handle empty user field Sep 21, 2023
@mderynck mderynck marked this pull request as ready for review September 21, 2023 19:49
@mderynck mderynck requested a review from a team September 21, 2023 19:49
@mderynck mderynck added this pull request to the merge queue Sep 26, 2023
Merged via the queue into dev with commit 2f1cc43 Sep 26, 2023
20 checks passed
@mderynck mderynck deleted the mderynck/fix-user-field-actions-api branch September 26, 2023 15:00
github-merge-queue bot pushed a commit that referenced this pull request Oct 3, 2023
# What this PR does
Fix update calls made by terraform when user field is empty or not
present.
Should have been part of: #3053

## Which issue(s) this PR fixes
grafana/terraform-provider-grafana#1025

## Checklist

- [x] Unit, integration, and e2e (if applicable) tests updated
- [x] Documentation added (or `pr:no public docs` PR label added if not
required)
- [x] `CHANGELOG.md` updated (or `pr:no changelog` PR label added if not
required)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pr:no public docs Added to a PR that does not require public documentation updates
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants