geraldkoh4 / pe

0 stars 0 forks source link

Invalid error message for Delete command #2

Open geraldkoh4 opened 1 year ago

geraldkoh4 commented 1 year ago

image.png

When there is an empty list, the delete error message says delete from index 1 to 0. However, when I delete 1, it is not accepted.

soc-se-bot commented 1 year ago

Team's Response

No details provided by team.

The 'Original' Bug

[The team marked this bug as a duplicate of the following bug]

Incorrect and confusing error message

Note from the teaching team: This bug was reported during the Part II (Evaluating Documents) stage of the PE. You may reject this bug if it is not related to the quality of documentation.


index given does indeed fall within the given range but is rejected

image.png


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

Their Response to the 'Original' Bug

[This is the team's response to the above 'original' bug]

Occurs when trying to delete a workout but workout list is empty.

Items for the Tester to Verify

:question: Issue duplicate status

Team chose to mark this issue as a duplicate of another issue (as explained in the Team's response above)

Reason for disagreement: [replace this with your explanation]