-
Notifications
You must be signed in to change notification settings - Fork 282
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
[BUG] Create user API giving misleading error messages #3055
Labels
bug
Something isn't working
Comments
derek-ho
added
bug
Something isn't working
untriaged
Require the attention of the repository maintainers and may need to be prioritized
labels
Jul 26, 2023
3 tasks
[Triage] Hi @derek-ho, can you provide further details about the messages you expect vs what you are receiving? Thank you. |
stephen-crawford
removed
the
untriaged
Require the attention of the repository maintainers and may need to be prioritized
label
Jul 31, 2023
[Triage] @derek-ho just following-up. |
cwperks
added a commit
that referenced
this issue
Aug 17, 2023
### Description Returns the error message instead of the validation message because validation message should already have been shown in above case statements. ### Issues Resolved Fix: #3055 Is this a backport? If so, please add backport PR # and/or commits # ### Testing [Please provide details of testing done: unit testing, integration testing and manual testing] ### Check List - [ ] New functionality includes testing - [ ] New functionality has been documented - [ ] Commits are signed per the DCO using --signoff By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license. For more information on following Developer Certificate of Origin and signing off your commits, please check [here](https://github.com/opensearch-project/OpenSearch/blob/main/CONTRIBUTING.md#developer-certificate-of-origin). --------- Signed-off-by: Craig Perkins <[email protected]> Signed-off-by: Derek Ho <[email protected]> Co-authored-by: Craig Perkins <[email protected]>
derek-ho
added a commit
to derek-ho/security
that referenced
this issue
Aug 17, 2023
Returns the error message instead of the validation message because validation message should already have been shown in above case statements. Fix: opensearch-project#3055 Is this a backport? If so, please add backport PR # and/or commits # [Please provide details of testing done: unit testing, integration testing and manual testing] - [ ] New functionality includes testing - [ ] New functionality has been documented - [ ] Commits are signed per the DCO using --signoff By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license. For more information on following Developer Certificate of Origin and signing off your commits, please check [here](https://github.com/opensearch-project/OpenSearch/blob/main/CONTRIBUTING.md#developer-certificate-of-origin). --------- Signed-off-by: Craig Perkins <[email protected]> Signed-off-by: Derek Ho <[email protected]> Co-authored-by: Craig Perkins <[email protected]> (cherry picked from commit 847f911)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Reproduce:
The text was updated successfully, but these errors were encountered: