nus-cs2103-AY2425S1 / pe-dev-response

0 stars 0 forks source link

Expect number of spaces between words to be trimmed to one #1047

Open nus-pe-bot opened 2 weeks ago

nus-pe-bot commented 2 weeks ago

When adding contacts. I expect multiple spaces to be trimmed to one. Yet I am able to add as much spaces as i want between 2 words. I believe this is a feature flaw as I do not think the spaces between names can be more than 1 space. Believe this is an edge case.

Steps to reproduce:

  1. add n/John Doe p/98765432 e/johnd@example.com
  2. add n/John Doe p/98765431 e/johndd@example.com (There is 1 extra space between the John and Doe) Expected output: The 2nd command will throw the command "This person already exists in CampusConnect"

Actual: New person added

Screenshot 2024-11-15 at 5.01.52 PM.png


[original: nus-cs2103-AY2425S1/pe-interim#1455] [original labels: severity.Low type.FunctionalityBug]

KrashKart commented 2 weeks ago

Team's Response

No details provided by team.

Duplicate status (if any):

Duplicate of #3097