-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Web: Fix Discover setup access screen erroring when updating user #43558
Conversation
The PR changelog entry failed validation: Changelog entry not found in the PR body. Please add a "no-changelog" label to the PR, or changelog lines starting with |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the main Users create/edit screen, will only ever edit the allTraits
field, therefore we exclude the traits
field
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you!
…3558) * Web: fix discover user update error * Address CRs
fixes bug depicted in image below introduced with #42620
when updating or creating user, backend allows only
traits
orallTraits
to be specified, not both, which was what the issues was.Fetching a user returns both
allTraits
andtraits
, and we were sending of a request with both fields defined when updating.This PR will prevent sending of both in the api service layer by requiring a
excludeUserField
paramchangelog: Fixes Discover setup access step in the web UI from erroring when updating user