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

[Bug]: Missing fields in body of request can lead to SQL syntax error #2527

Open
1 task done
aaronburtle opened this issue Jan 15, 2025 · 0 comments
Open
1 task done
Assignees
Labels
bug Something isn't working triage issues to be triaged
Milestone

Comments

@aaronburtle
Copy link
Contributor

What happened?

When a field is missing from the body for a request that maps to insert operations this should either result in a working request where DAB is able to determine the field in question and assign insert something like a default value, or it should result in error messaging that is clear to the user. Currently we are instead running into a SQL Syntax exception.

Image

Version

1.3

What database are you using?

Azure SQL

What hosting model are you using?

No response

Which API approach are you accessing DAB through?

No response

Relevant log output


Code of Conduct

  • I agree to follow this project's Code of Conduct
@aaronburtle aaronburtle added bug Something isn't working triage issues to be triaged labels Jan 15, 2025
@aaronburtle aaronburtle added this to the 1.4 milestone Jan 15, 2025
@aaronburtle aaronburtle self-assigned this Jan 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working triage issues to be triaged
Projects
None yet
Development

No branches or pull requests

1 participant