nus-cs2103-AY2324S2 / pe-dev-response

0 stars 0 forks source link

Case sensitive names and/or extra spaces are treated not treated as duplicates #2415

Open nus-se-script opened 7 months ago

nus-se-script commented 7 months ago

Steps to reproduce

  1. Launce TutorPro
  2. input command add n/John Doe p/98765432 e/johndoe@gmail.com a/Clementi Ave 123, Blk 321, #12-345 lvl/P5 sub/math-B sub/science-C+
  3. Modify name to john doe and run add n/john doe p/98765432 e/johndoe@gmail.com a/Clementi Ave 123, Blk 321, #12-345 lvl/P5 sub/math-B sub/science-C+

Expected As stated in the UG, "capitalization (e.g. jOhN DoE ) or extra/leading/trailing spaces does not affect the value". This means that "John Doe" and "john doe" should be treated the same, and an error should be prompted.

Actual Capitalization and or extra spaces affects the name field, and new students are created. This is the same for parents.

image.png


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

TarinPairor commented 7 months ago

Team's Response

No details provided by team.

Duplicate status (if any):

--