siewyangzhi / pe

0 stars 0 forks source link

The Price field in the add package command allows for random characters such as d,f #6

Open siewyangzhi opened 2 years ago

siewyangzhi commented 2 years ago

Description: The price field allows for extra characters such as d and f to be appended to it.

Steps to recreate the problem: enter the command add Golfing Trip, 3, 25/02/2022,27/02/2022, ABC,90.0000d, Singapore,30
or add Golfing Trip2,4,25/02/2022,27/02/2022,ABC,90.0000f,Singapore,30 Package successfully added!

Expected: Error the Price field is invalid and should not contain characters.

Actual:

image.png

or

image.png

Depending on the command entered.

nus-se-script commented 2 years ago

Your response not required for this bug as the team has accepted the bug as it is.