https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17855
--- Comment #10 from Alex Buckley <[email protected]> --- Created attachment 58666 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=58666&action=edit Bug 17855 - Implemented minimum password length check, which will not allow a user to create a patron in the create patron screen of the onboarding tool if the patrons password is less than 3 characters. Test plan: 1. Go through the web installer and onboarding tool (up to the first create patron screen) as outlined here: https://koha-community.org/manual/installation/html/ 2. In the first create patron screen write in the same 2 character password into the 'Password' and 'Confirm Password' text inputs and submit the form 3. Notice that there is an error message telling you the password is too short Bug 17855 - Implemented properly formatted errors to be shown after submitting the first create patron screen in the onboarding tool if the inputted passwords do not match and/or the inputted card number already exists. This prevents a software error being displayed to the user. Test plan: 1. Go through the web installer (keeping the MACR21 and basic setup default options selected) 2. Select to install sample libraries, patron categories and patrons in the web installer step 3 3. Finish the remainder of the web installer as outlined in the above link 4. Go through the onboarding tool noticing that the forms to create a library, and patron category are skipped (with a skip message being displayed in their place). 5. On the create patron screen enter in the card number of 1 (which already exists because you added sample patrons in the web installer) and write in different passwords into the 'Password' and 'Confirm password' input fields. 6. Submit the Create patron form 7. Notice the error messages in a properly formatted onboarding tool screen. I.e. not software error messages. Click the 'Try again' button which returns you to the create patron screen to refill out the form again Bug 17855 - removed test displays of template variables in the second create patron screen of the onboarding tool Test plan: 1. Go through the web installer and onboarding tool (up to the second create patron screen) as outlined here: https://koha-community.org/manual/installation/html/ 2. Notice that there is no text saying 'nok is ' at the top of the second create patron screen Bug 17855 - Implemented html validation on the text input boxes for the create library screen in the onboarding tool. Test plan: 1. Go through the web installer and up to the create a library screen of the onboarding tool as outlined here: https://koha-community.org/manual/installation/html/ 2. In the onboarding tool enter special characters into the two text input boxes of the create library screen and try to submit the form. 3. Notice that the form will not submit until the special characters have been removed from the two text input fields Bug 17855 - Implemented a password check into the create patron screen so that when the user writes the patron password into the 'Password' and 'Confirm password' input boxes the password inputs are checked to make sure they are consistent. If the passwords are not the same then the patron record is not inserted into the datbase. Test plan: 1. Go through the web installer and onboarding tool (up to the first create a patron screen) as outlined here: https://koha-community.org/manual/installation/html/ 2. Enter in a different password in the 'Confirm Password' input to the 'Password' input. 3. Notice that the patron record is not instered into the borrowers table of the database when the passwords are not the same. HTML data validation of the library Trying to work out errors Working errors for password mismatch Password min length check is working for create a patron. Still need to fix user ID check and test if card number length is working. FOr now, Mika out! -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
