AY2425S1-CS2103T-W12-4 / tp

MIT License
0 stars 5 forks source link

[PE-D][Tester E] Unable to Add Multiple Persons with the Same Name in TalentNet #233

Closed nus-pe-script closed 2 days ago

nus-pe-script commented 4 days ago

Description:

When attempting to add two individuals with the same name ("Joshua Goh") but different details, the app TalentNet prevents the addition of the second profile. This issue may limit users from accurately managing contacts who share common names. e.g. Two persons with the same name 'Joshua Tan' cant be added.

Steps to Reproduce:

  1. Open the TalentNet app and navigate to the “Add New Contact” feature.
  2. Create a contact with the following details: • Name: Joshua Goh • Position: Software Developer • Company: Tech Innovators • Email: joshua1@example.com
  3. Save the contact and return to the main contacts list.
  4. Attempt to add a new contact with the name “Joshua Goh” again but with different information: • Name: Joshua Goh • Position: Project Manager • Company: Future Visions • Email: joshua2@example.com
  5. Failed with “This person already exists in TalentHub.” alert

Expected Result: The app should allow the addition of two separate entries with identical names but different details, treating each entry as an independent profile.

Actual Result: The app displays an error or prevents the second contact from being saved due to duplicate names, even though other fields are distinct.

Possible ways to improve Allow entires to have different names Mention this behavior in the user guide

Screenshot image.png


Labels: type.FunctionalityBug severity.Medium original: zhou-colla/ped#1

wrjgold commented 3 days ago

Add to UG to not allow duplicate names