Open hovanleong opened 4 days ago
It is a subset of #798. Both is about allowing duplicate entries for telegram & github.
[The team marked this bug as a duplicate of the following bug]
Add Command allows duplicate telegram/github/email handles
Steps to Reproduce
- add name/Test1 email/test@email.com telegram/@telegram github/test
- add name/Test2 email/test@email.com telegram/@telegram github/test
Expected Outcome
When an inputted student has duplicate emails, telegram handles, or github account, they probably mean the same person. Even if they have different points of contact it makes the list harder to navigate when there are accidental duplicates referring to the same person.
Actual Outcome
No validation for this duplication is performed and contacts are added without raising warnings.
[original: nus-cs2103-AY2425S1/pe-interim#1125] [original labels: type.FeatureFlaw severity.Low]
[This is the team's response to the above 'original' bug]
Currently it is not implemented to prevent overzealous input validation and we also acknowledge that some students might use the same email / telegram maybe for group projects. In the future implementations, we would ensure that duplicate telegram IDs, github accounts and emails will be checked.
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]
Using the app, I called two commands,
add name/John Doe email/johnd@example.com telegram/@john github/swag-john33
andadd name/Jon Doe email/johnd@example.com telegram/@john github/swag-john33
.This was allowed by the application even though emails, telegram handles and github usernames are unique and cannot be shared by two different individuals. In the case of target users, CS2030S tutors may easily copy paste their students telegram handles/github usernames incorrectly, especially if their students have similar names such as
John Doe
andJon Doe
.Here is the screenshot attached:
The Q&A component slightly touches on this and states "KonTActs recognizes that students may use the same usernames and emails across different points of contact. To provide greater flexibility in the application, KonTActs permits duplicate entries for email addresses, Telegram handles, and GitHub usernames." but I do not feel it is a valid reason as all NUS students are assigned with a unique NUSNet email upon matriculation.
I would suggest that duplicate entries for tele handles and github users should be checked and handled instead of just being accepted, considering that most CS2030S tutors are undergraduates whom work very hard and might be very tired and easily input inaccurate info when entering students' data into the database.