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.
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:
or
Depending on the command entered.