nus-cs2113-AY2223S1 / pe-dev-response

0 stars 0 forks source link

delete a Transaction when entering a wrong index #802

Open nus-pe-bot opened 1 year ago

nus-pe-bot commented 1 year ago

A transaction is deleted when a wrong index is entered with many 0 before the number:

image.png


[original: nus-cs2113-AY2223S1/pe-interim#771] [original labels: severity.Low type.FunctionalityBug]

chinhan99 commented 1 year ago

Team's Response

It is a permitted perimeter as putting zeros in front of the actual number will only reduce the string parameter to the actual integer value during string-to-integer conversion, which is still "3" in this example.

Duplicate status (if any):

--