DingBao-sys / pe

0 stars 0 forks source link

Bug cannot add person with name with special characters #1

Open DingBao-sys opened 4 months ago

DingBao-sys commented 4 months ago

Steps to reproduce:

  1. add n/John Doehhhhhhd d/shdhd p/98765432 e/johnd@example.com a/311, Clementi Ave2, #02-25 b/25/2/2024 s/Female

expected to be able to add person with name n/John Doehhhhhhd d/shdhd

actual Names should not be blank, and can only contain letters or a special character (space, slash or dash) surrounded by letters.!

even though ug did specify that special characters allowed are space /, / - surrounded by

Screenshot 2024-04-19 at 4.25.26 PM.png

soc-pe-bot commented 4 months ago

Team's Response

Thank you for feedback. I have attempted to replicate this bug with the given command, and failed to do so.

Before:

image.png

After:

image.png

Taking a closer look at the screenshot given it seems that you have put an additional space in between the name and d/? If that were the case, we would get the output you have shown, but that is the expected behaviour, as the multiple spaces within John Doehhhhhhd d/shdhd violates the rule we have set for names, which is that special characters (including space) must be surrounded by letters, while in this case the first space is surrounded by a letter and nother space. Hope this clears up any confusion!

Items for the Tester to Verify

:question: Issue response

Team chose [response.CannotReproduce]

Reason for disagreement: [replace this with your explanation]