Open chiageng opened 3 months ago
No details provided by team.
[The team marked this bug as a duplicate of the following bug]
More information should be given about duplicate people in the UG
Currently when attempting to add a new person, I encountered some difficulty as the application stated that the person was a duplicate. After some experimentation I found that it was due to the requirements of having unique Name, phone and email. This could perhaps have been stated in the UG as a requirement when adding a new person.
[original: nus-cs2103-AY2324S2/pe-interim#2312] [original labels: severity.Low type.DocumentationBug]
[This is the team's response to the above 'original' bug]
Thank you for your feedback. However, there shouldn't be much difficulties or confusion for the users since each employee within a company typically possesses a unique email address and phone number. As a result, when entering information into PayBack, any duplicate errors or mistakes in the data entry process should become immediately apparent to the user. The current error message would prompt users to review all entered fields, and they should be able to identify which fields have been entered incorrectly and are causing duplicates.
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]
Justification : User might input same email/phone for different employee, hence low
This command is modified from the example in UG. Previously, a same ID is used to create a user
Output :![image.png](https://raw.githubusercontent.com/chiageng/pe/main/files/048203db-8b22-4795-a442-f99b7f486b75.png)
Expected : Error message mentioning that email/phone number is already exist. Most of the time, user It is helpful to display a more specific error message to user.