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
Editing the individual attributes email, phone and address will allow 2 persons with the exact same details to exist.
To Reproduce
Steps to reproduce the behavior:
Add these 2 persons in the list
Run edit 2 p/1234 edit 2 a/test edit 2 p/fds@gmail.com
See error
Expected behavior
I expect the edits to be disallowed.
Additional context
When adding 2 persons with the exact same details is not allowed. So I presume that 2 persons with the exact same details is not allowed by design. However, I can edit 2 persons to have the exact same details.
Describe the bug
Editing the individual attributes email, phone and address will allow 2 persons with the exact same details to exist.
To Reproduce
Steps to reproduce the behavior:
Add these 2 persons in the list
Run
edit 2 p/1234
edit 2 a/test
edit 2 p/fds@gmail.com
See error
Expected behavior
I expect the edits to be disallowed.
Additional context
When adding 2 persons with the exact same details is not allowed. So I presume that 2 persons with the exact same details is not allowed by design. However, I can edit 2 persons to have the exact same details.
Reported by: @wm28
Severity:
High
[original: nusCS2113-AY1819S1/pe-1#646]
The text was updated successfully, but these errors were encountered: