ruijietay / pe

0 stars 0 forks source link

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

Open ruijietay opened 2 months ago

ruijietay commented 2 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

soc-se-bot commented 2 months ago

Your response not required for this bug as the team has accepted the bug as it is.