yxtan02 / ped

0 stars 0 forks source link

Example command for adding an owner in quick start section doesn’t work correctly due to duplicate owner present in the sample data #3

Open yxtan02 opened 6 days ago

yxtan02 commented 6 days ago

In step 5 of the Quick Start section, an example command for users to add an owner is provided as shown:

image.png

However, when I enter this command and press enter, an error message is shown: image.png

I believe that this is due to the sample data already having an owner with a NRIC of S0000001I, causing this error of duplicate owner to occur.

Suggestion: Perhaps in your UG, you can instruct new users to clear the sample data before trying out the example commands provided in quick start. This would prevent new and inexperienced user from encountering this error when following the UG

Steps to reproduce:

  1. Download jar file from GitHub release page
  2. Open the app and enter the command: "owner i/S0000001I n/John Doe p/98765432 e/johnd@example.com a/311"

Expected (as stated in the UG): The contact named John Doe to be successfully added to PawPatrol

Actual: Error message: This owner already exists in PawPatrol