julia-cp / pe

0 stars 0 forks source link

Unexpected error message for edit command when the index is less than 1 #3

Open julia-cp opened 6 months ago

julia-cp commented 6 months ago

From the user guide, when the index is invalid the expected error is supposed to be: The person index provided is invalid. Screenshot 2024-04-19 at 4.30.25 PM.png

The actual outcome is this error message: Screenshot 2024-04-19 at 4.29.24 PM.png

Steps to reproduce: Type in edit 0 n/Bernice Yu p/99272757

soc-se-bot commented 6 months ago

Team's Response

No details provided by team.

Items for the Tester to Verify

:question: Issue type

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

Reason for disagreement: This is a functionality bug because it differs from normal expectations e.g. error message does not match the error.

Based on the user guide, the error message "The person index is invalid" is expected to happen when the person's index is invalid. Instead, it only happens when the person index is larger than the current largest index. Screenshot 2024-04-23 at 7.58.30 PM.png