Open zacharyxzz opened 1 week ago
No details provided by team.
[The team marked this bug as a duplicate of the following bug]
Invalid find command followed by valid find command breaks patients list
Steps:
- Ensure that there are some patients in the patients list, in this case I have added two patients: bellam and jack
- Enter command:
find person n/
- Enter command:
find person n/ s
Behavior:
- In step 2, an error message "Unknown command" was given.
- Then in step 3, the message "0 persons listed!" was given.
- However, the patients list still shows all patients.
- Now, if we enter the list person command, duplicate patients are shown, and the patients list is basically broken.
Rationale:
- This sequence of commands is decently likely to happen as it involves just 1 typo (entering the command find person n/ ).
- This then proceeds to cause the patients list to show inaccurate results.
[original: nus-cs2103-AY2425S1/pe-interim#1666] [original labels: severity.High type.FunctionalityBug]
[This is the team's response to the above 'original' bug]
No details provided by team.
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]
Steps:
Ensure that there are some appointments in the appointments list, in this case I have added two appointments Enter command: find appt n/ Enter command: find appt n/ x Behavior:
In step 2, an error message "Unknown command" was given. Then in step 3, the message "0 appointments listed!" was given. However, the appt list still shows all appts. Now, if we enter the list appt command, duplicate appts are shown, and the appt list is basically broken.