When an extremely large non-negative integer value like 9999999999999999999999999999999999 is passed to the add_dish command as the price in cents, the app crashes with a NumberFormatException, as demonstrated below:
However, in the UserGuide, it is stated that non-negative integer values are supported, as shown below:
Hence, a parameter like 9999999999999999999999999999999999 should be caught by the application rather than resulting in a crash. Since the application crashes, which prevents the user from continuing to use the application, the severity of this bug is High.
When an extremely large non-negative integer value like
9999999999999999999999999999999999
is passed to theadd_dish
command as the price in cents, the app crashes with aNumberFormatException
, as demonstrated below:However, in the UserGuide, it is stated that
non-negative integer values
are supported, as shown below:Hence, a parameter like
9999999999999999999999999999999999
should be caught by the application rather than resulting in a crash. Since the application crashes, which prevents the user from continuing to use the application, the severity of this bug is High.Labels:
severity.High
type.FunctionalityBug
original: haoyangw/ped#8