nus-cs2103-AY2021S2 / pe-dev-response

0 stars 0 forks source link

Addorder Positive integer order but cannot make order #1078

Open nus-pe-bot opened 3 years ago

nus-pe-bot commented 3 years ago

I have provided a positive integer for my order but it gives me an error. Perhaps the UG didn't specify whats the limit of the order image.png


[original: nus-cs2103-AY2021S2/pe-interim#1078] [original labels: severity.High type.FunctionalityBug]

AhQuanz commented 3 years ago

Team's Response

The bug only occurs when the quantity specified is greater than Java’s max int.

Our app is intended for a home-based business and hence it is unlikely that our target users would ever add such a huge quantity of cheeses.

With that said, the bug appears only in very rare situations (if at all) and is unlikely to affect normal operations of the product.

Severity should thus be “Low”.

Duplicate status (if any):

Duplicate of #2971