Open radeon2525 opened 2 months ago
We use id/ to uniquely identify each student. It is already declared on UG. In this instance, the inputting id is 00001, which is duplicated with Alex yeoh. Therefore we consider the person already exists.
[The team marked this bug as a duplicate of the following bug]
Add command doesn't work
The given command is:
add n/John Doe p/93333333, 92222222 e/johndoe@mail.com a/123 Oxford Street id/00001 class/3A t/Band
(same as the one given in the UG).The error message states that the person already exists in the contact list. This is because the given student ID is already in the default data file.
Steps to reproduce:
- Launch the jar file with the default json data file.
- Enter the command and run it.
Reason for severity: The bug causes significant inconvenience for new users learning to use the app.
Suggestion: The student ID in the example of the UG should be changed to something that doesn't already exist in the default data file.
[original: nus-cs2103-AY2324S2/pe-interim#1589] [original labels: severity.Medium type.DocumentationBug]
[This is the team's response to the above 'original' bug]
Behavior regarding duplicate student IDs is stated clearly in the user guide for new users. New users should be able to understand what needs to be done in order to execute the provided sample command and hence this issue would only very rarely affect normal operations of the application.
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]
On running the exact "add" command example given in the UG, the app raised the error of "This person already exists in the contact list." whereas no where in the person's list is the person mentioned. As you can see in the images below "John Doe" is not present.
This should be fixed as it is a basic requirement for the add command of the app