sandydays / pe

0 stars 0 forks source link

Incorrect error message for lesser than 3 characters username #1

Closed sandydays closed 4 years ago

sandydays commented 4 years ago

Summary: Wrong error message shown when username with less than two characters typed in.

Steps to reproduce: Run the following command register n/Ab p/98765432 e/johnd@example.com u/op1 w/password

Expected results: Command box should show the specific error message, such as number of characters in username is too small

Actual results: Shows incorrect error message: The username is already taken

The reason being that the identity of each of the person registered is dependent on email, etc. Clarity on the identity of people in the list should be mentioned in the user guide.

Screenshot of issue: image.png