vevek / pe

0 stars 0 forks source link

Error message provided for an invalid owner ID when adding a dog is not valid. #4

Closed vevek closed 3 years ago

vevek commented 3 years ago

When adding a new dog, with an owner ID of -1 the app gives the error message of "ID must be a positive integer not exceeding 2147483647!". Then when entering an owner ID of 2147483647, the app says invalid owner ID, when the previous error message mentioned "exceeding 2147483647".

I labelled this Low as it is unlikely to affect normal operations of the product.

Actual: "The owner ID provided is invalid" or "ID must be a positive integer not exceeding 2147483647!"

Expected: The operation should work normally. and the error message for o/-1 should be "ID must be a positive integer lower than 2147483647!"

Screenshot 1: Screenshot 2021-04-16 at 14.38.42.png

Screenshot 2: Screenshot 2021-04-16 at 14.38.59.png