[Koha-bugs] [Bug 30864] New: Patron category form - no validation for password expiration field

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Sun May 29 22:22:43 CEST 2022


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30864

            Bug ID: 30864
           Summary: Patron category form - no validation for password
                    expiration field
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: minor
          Priority: P5 - low
         Component: System Administration
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: david at davidnind.com
        QA Contact: testopia at bugs.koha-community.org
                CC: gmcharlt at gmail.com

When creating a patron category or editing an existing one, there is no
validation for the "Password expiration" field.

If letters or other characters are entered, there is no error message and if
not a number whatever is entered is not saved.

To replicate:
1. Go to Administration > Patrons and circulation > Patron categories.
2. Add a new patron category (or edit an existing category).
3. For the "Password expiration" field, enter letters or characters such as
L$%.
4. For the "Age required" field, enter letters or characters.
5. Note that for the "Age required" field you are prompted to "Please enter
only digits", but for "Password expiration" there is no validation error
message.
6. If you save with letters or other characters in the "Password expiration"
field, it is shown as a "-" on the patron categories list and is blank when you
edit the category.

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.


More information about the Koha-bugs mailing list