Open Bandov opened 2 months ago
In the user guide, it is clearly stated that you should specify from "0" to "5". “01”, although technically within the range, is invalid on the following grounds:
Team chose [response.Rejected
]
Reason for disagreement: Not accepting numeric input with a leading zero, like "01," can be considered a functionality bug due to user interface consistency, common user experience, and inclusive design principles. Users expect software to handle numerical inputs uniformly, often disregarding leading zeros. If the software rejects such input without clear documentation, it can lead to confusion and a subpar user experience. The UG does not explicitly state anywhere that having a leading 0 in front of a digit is not allowed. They also reinforce the users misunderstanding that they accept any form of input as long as it is a whole number value from 0 to 5 inclusive as seen in the UG and the error message. Thus, with my context and background, the user might expect leading zeros to be supported by the app. As seen below.
Furthermore, error messages must clearly instruct users on proper input formats. As a user, seeing the error message below would confuse me as to me 01 means 1 and is not violating any rules as spelled out in the error message.
This is further supported by the fact that 01 and 1 are of equal value and thus 01 meets the requirements that is set up by the UG and the error message. See below for proof.
Lastly, leading zeros may be standard practice in some regions. Therefore, the application should either accept leading zeros in numeric input or explicitly state in the documentation that they are not permitted. Which neither was done.
Functionality Bug (Severity LOW) Steps to reproduce
/rate ; name : Janna ; rating : 01
Expected Rating of person Janna to have one star Actual Error message shown despite not having any place in documentation where 01 is not allowed despite it being equal to value 1.![Screenshot 2024-04-19 at 4.46.48 PM.png](https://raw.githubusercontent.com/Bandov/pe/main/files/1c5886a8-f032-47f9-9c81-ed3a626aae9b.png)