nus-cs2103-AY2324S1 / pe-dev-response

0 stars 0 forks source link

Extra whitespace case when adding a contact. #1039

Open nus-se-script opened 1 year ago

nus-se-script commented 1 year ago

When keying in a new contact, extra whitespaces are still taken as the input, resulting in there being 2 contacts possibly having the same name despite the names being the same if the whitespace was trimmed.

Steps to replicate:

  1. add n/Alex  Yeoh p/99272758 e/alexyeoh@example.com tele/@alexyeoh t/fulltime c/cs1231s

Screenshot 2023-11-17 at 4.32.08 PM.png

Screenshot 2023-11-17 at 4.32.26 PM.png


[original: nus-cs2103-AY2324S1/pe-interim#1600] [original labels: severity.Low type.FeatureFlaw]

PohSayKeong commented 1 year ago

Team's Response

Similar issue where we should have considered them as duplicate names.

Duplicate status (if any):

Duplicate of #5024