You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
A clear and concise description of what the bug is.
The find bug command when searched for phone number, returned wrong person with the incorrect phone number
To Reproduce
Steps to reproduce the behavior:
Key "add n/John Doe p/912 e/johnd@example.com a/311, Clementi Ave 2, Added references list #2-25 r/Secretary k/3.2 d/John is forgetful t/friends 2" in the command line.
Key 'find p/910'
3.Command result box shows "1 person listed"
The list panel shows the john doe who is added with phone number 912.
Expected behavior
A clear and concise description of what you expected to happen:
When "find p/910" is entered, the command result box should have shown "0 person listed" since no one has the phone number "910". The list panel shouldn't have shown John Doe with phone number "912".
Screenshots
Showing wrong person with incorrect phone number. Should have return an empty list instead.
Additional context
Add any other context about the problem here.
Describe the bug
A clear and concise description of what the bug is.
The find bug command when searched for phone number, returned wrong person with the incorrect phone number
To Reproduce
Steps to reproduce the behavior:
3.Command result box shows "1 person listed"
Expected behavior
A clear and concise description of what you expected to happen:
When "find p/910" is entered, the command result box should have shown "0 person listed" since no one has the phone number "910". The list panel shouldn't have shown John Doe with phone number "912".
Screenshots
Showing wrong person with incorrect phone number. Should have return an empty list instead.
Additional context
Add any other context about the problem here.
Reported by: @ChanChunCheong
Severity:
Medium
[original: nusCS2113-AY1819S1/pe-1#704]
The text was updated successfully, but these errors were encountered: