Bug #3036
Updated by Stefan Z 7 months ago
The system allows users to edit and user can save their username even when it does not meet an edited name without meeting the specified required validation rules. User can accept less than criteria. The expected format should include: * Alphabetic characters (Latin and Cyrillic) * Upper and lower case letters * Special characters: hyphen (-), period (.) * Spaces * Length between 7 characters, more than and 50 characters, non-alphabetic characters (Arabic, Chinese), all special characters and spaces. *Environment* * Device: [Desktop Computer] * OS: [Windows 11 Pro] * Screen resolution: [1920x1080] * Browser: [Chrome 137.0] * https://qainterrapt.brainster.xyz/login *Steps to reproduce* # Navigate on the "Users" form # Hover over Click on the three dots(more options) "Profile" button in the bottom left bottom-left corner next to the username. # Click on "Your Profile" option # Enter invalid data in the 'Name' field (eg. Asd, or qowirjqwoHW UIqwrhqiwurqwoq woegpwjegqweguqweghiwu1298y 4123_@&$*@$@$@$&^@*$复制粘نسخ لصق) qowirjqwoHWUIqwrhqiwurqwoqwoegpqwjegqweguqweghqiwu1298y4123_(*(@&$(*@$@($@$&^@*$) # Click on the "Save" button # Observe the form with the updated name and a validation message in the top right corner. *Expected Result* The name system should not be saved validate the input and the system should display a validation an error message if the name does not meet the defined specified criteria. The name must contain only Alphabetic characters(Latin and Cyrillic), predefined special characters (hyphen(-) and period(.)), spaces and must should not be between 7 and 50 characters in length. saved. *Actual Result* The system allows the name to be saved even when it does not meet the validation criteria, without showing any criteria. No error or blocking is shown, and the action. Names containing Arabic and Chinese characters, all types of special characters (e.g., $ %), only spaces, or names profile is updated with less than 7 or more than 50 characters are accepted. A success message appears stating that the name was edited successfully, even though the invalid input is invalid.