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 REST error 500 when wrong field name is used #1804

Merged
merged 1 commit into from
Jan 16, 2024

Conversation

dadoonet
Copy link
Owner

Instead of producing a NPE, we now catch the problem (using the wrong field name file and return a proper error message.

Closes #1748.

Instead of producing a NPE, we now catch the problem (using the wrong field name `file` and return a proper error message.

Closes #1748.
@dadoonet dadoonet added bug For confirmed bugs component:rest labels Jan 16, 2024
@dadoonet dadoonet added this to the 2.10 milestone Jan 16, 2024
@dadoonet dadoonet self-assigned this Jan 16, 2024
Copy link

Quality Gate Passed Quality Gate passed

Kudos, no new issues were introduced!

0 New issues
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

@dadoonet dadoonet merged commit d34bd4b into master Jan 16, 2024
13 checks passed
@dadoonet dadoonet deleted the 1748-wrong-rest-fieldname branch January 16, 2024 14:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug For confirmed bugs component:rest
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Version 2.10, REST API, POST new file, Error 500
1 participant