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

"Add Analysis Plan" modal: no input validation for negative budget #874

Open
mccalluc opened this issue Feb 12, 2024 · 0 comments
Open

"Add Analysis Plan" modal: no input validation for negative budget #874

mccalluc opened this issue Feb 12, 2024 · 0 comments

Comments

@mccalluc
Copy link

mccalluc commented Feb 12, 2024

The UI checks that the epsilon does not exceed the remaining budget, but it does not prevent 0 or a negative number from being entered. The 400 response does describe the error:

{"success":false,"message":"\"epsilon\" is required to create an AnalysisPlan and should be a positive float value."}

But in the UI all we see is

Runtime Error:
{}
@mccalluc mccalluc changed the title "Add Analysis Plan" "Add Analysis Plan" modal: negative budget Feb 12, 2024
@mccalluc mccalluc changed the title "Add Analysis Plan" modal: negative budget "Add Analysis Plan" modal: no input validation for negative budget Feb 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant