ghzr0 / pe

0 stars 0 forks source link

Possible unaccounted exception when editing an expenditure record #3

Open ghzr0 opened 1 year ago

ghzr0 commented 1 year ago

Based on the UG,

the format to edit an expenditure record is edit INDEX d/DATE a/AMOUNT p/DESCRIPTION

image.png

Here, with only 1 expenditure record in the current list, trying to edit at index=10 should theoretically output another error message regarding the index being out of bounds. However, even though all parameters have been entered in the correct format followed from the UG, the output error message does not make sense.

Perhaps another error message should be outputted instead when a user tries to edit at an index value that exceeds the total existing number of records in the list.

soc-se-bot commented 1 year ago

Team's Response

Acknowledged that the error message is not specific enough

Items for the Tester to Verify

:question: Issue type

Team chose [type.FeatureFlaw] Originally [type.FunctionalityBug]

Reason for disagreement: [replace this with your explanation]