dpcreator icon indicating copy to clipboard operation
dpcreator copied to clipboard

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

Open mccalluc opened this issue 1 year ago • 0 comments

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 avatar Feb 12 '24 20:02 mccalluc