Open johnnythesnake12 opened 10 months ago
Refers to the same issue of duplicate emails
[The team marked this bug as a duplicate of the following bug]
Duplicate email can be added
As seen below, I can add two people with the same email. As a HR application that manages contacts, I think this violates the spirit of your app because at no time would there be two people with the same email address in a team - or ever. This can cause erroneous inputs and emails to be added to the application.
[original: nus-cs2103-AY2324S1/pe-interim#4112] [original labels: severity.Low type.FeatureFlaw]
[This is the team's response to the above 'original' bug]
There may be cases in which multiple contacts can share the same work email addresses
- For instance, communication between HR and interns may be handled through the interns' supervisors. This is because in some cases, intern turnover rate is high, and therefore creating company issued emails for interns may not be worth the necessary paperwork and hassle involved. Furthermore, due to possible restrictive nature of the work handled, companies might forbid such interns from using their personal, or self created email addresses that they would have access to after their internship attachment. Therefore, supervisors would opt to use their own email addresses in place for the intern's contact information instead, and would instead relay all necessary important information down to the interns. Thus, the email address provided will be that of their supervisor. This is a practice that is done in several companies, such as Cognizant.
As such, we have chosen to not enforce uniqueness on email addresses in the employee list.
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]
2 people should not have duplicate emails especially in the same company