nus-cs2113-AY2223S1 / pe-dev-response

0 stars 0 forks source link

Unable to delete flight even though flight number matches flight in list #912

Open nus-pe-bot opened 1 year ago

nus-pe-bot commented 1 year ago

image.png

Another e.g:

image.png

The corresponding instr in the ug:

image.png

As can be seen from above image, it is not possible to delete the flight sq1234 even though my input for fn/ is sq1234 and the flight sq1234 exists in the list as it states I can't add it again

Tried again with the same fn as given in the ug as well


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

JordanKwua commented 1 year ago

Team's Response

The severity of the bug should be low. Firstly, the bug and elaborated in this issue has been caught as an exception and it is also unclear. The team tested and believe that its a trimming of output issue due to the additional spaces behind the flight number. But, the exception message clearly states in 'SQ1234' without any additional spaces at the back. It is also properly stated in the UG that the format of the flight delete command should have no spaces at the back e.g. flight delete sq832

Duplicate status (if any):

--