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:
Open the application.
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.
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.
Additional Notes:
Environment: Tested on Windows 11 version 23H2.
Potential Impact: Limits the application’s usability for real-world cases where supplier names include special characters, which could inconvenience users dealing with official names.
Suggested Solution: Allow the name field to accept common special characters like hyphens, ampersands, and apostrophes.
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:
add n/Jean-Paul Sartre p/87654321 a/1 Raffles Place #02-02 Marina Bay Sands Singapore 876543.
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.
Additional Notes:
Labels:
type.FeatureFlaw
severity.Medium
original: chenle228/ped#1