AY2425S1-CS2103-F10-1 / tp

MIT License
1 stars 5 forks source link

[PE-D][Tester C] Restriction on special characters in suppliers' names limits real-world applicability #179

Closed nus-pe-bot closed 3 days ago

nus-pe-bot commented 6 days ago

Description: The application does not allow special characters in the name field, displaying an error message when characters like hyphens (-) or ampersands (&) are included. This limitation restricts users from accurately adding real-world supplier names that contain these characters, such as "Jean-Paul Sartre" This constraint reduces the application’s usability and practicality, especially for businesses that frequently work with supplier names containing special characters.

Steps to Reproduce:

  1. Open the application.
  2. Attempt to add a supplier with a name containing special characters, such as add n/Jean-Paul Sartre p/87654321 a/1 Raffles Place #02-02 Marina Bay Sands Singapore 876543.
  3. Press Enter to execute the command.

Expected Result: The application should accept names with special characters and add the supplier to the address book.

Actual Result: An error message appears: "Names should only contain alphanumeric characters and spaces, and it should not be blank." This prevents the user from adding names with hyphens, ampersands, or other common special characters.

Screenshot: Refer to the provided screenshot showing the error message. 1731054211937.png

Additional Notes:


Labels: type.FeatureFlaw severity.Medium original: chenle228/ped#1

yanhwee commented 5 days ago

Feature flaw. We can't fix this anymore. Update limitation in DG.