Water-Systems-Management-UCM / Waterspout

Server side API for ag water optimization model runner
MIT License
2 stars 0 forks source link

Can enter large values in crop area restrictions #74

Open nickrsan opened 3 years ago

nickrsan commented 3 years ago

It's possible to enter arbitrarily large values into crop area restriction boxes that max out at 200 in the summaries.

[6/8 4:32 PM] Shivneel Chand Bug: I can populate the crop cards with absurdly large numbers for the crop area restrictions

​[6/8 4:33 PM] Shivneel Chand Only with crop area restrictions. none of the the other boxes. ​[6/8 4:34 PM] Shivneel Chand oh, and it is only visual. once I get to the model details pane, the saved value is 200

nickrsan commented 3 years ago

@Shivneel7 Can you confirm if you're still seeing this behavior? I can't reproduce, but it's possible it was just fixed in other bugfixes

Shivneel7 commented 3 years ago

@nickrsan The issue is not fixed, here is the current state: image Which translates to the following model: image

Shivneel7 commented 3 years ago

Also, if letters are inserted into any crop area restriction boxes, the site crashes: image No other text boxes on the site allow letters to be input.