[Koha-bugs] [Bug 25349] New: Enter in the username field submits the login, instead of moving focus to the password field

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri May 1 19:40:29 CEST 2020


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

            Bug ID: 25349
           Summary: Enter in the username field submits the login, instead
                    of moving focus to the password field
 Change sponsored?: ---
           Product: Koha
           Version: 19.05
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P5 - low
         Component: Self checkout
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: bwsdonna at gmail.com
        QA Contact: testopia at bugs.koha-community.org

When using self checkout set to login with username and password and an "enter"
function is submitted in the username field, the form is submitted instead of
moving the focus to the password field.

For libraries that have patrons scan their barcode for the username, this
causes a never ending loop of not being able to login.  The "enter" function is
necessary from the barcode scanner when checking out books etc, so that can't
be changed.  The desired behavior would be to move the focus to next field on
the form so patrons can scan their barcode, then type in the password, and then
the enter key would submit the form.

To recreate:
1.  Enable self checkout function
2.  Set sys pref SelfCheckoutByLogin to Username and Password
3.  Go to your self check site and log in as your self check user
4.  In the username field, type in a username and hit the enter key, or using a
barcode scanner, scan a barcode.
5.  Notice that the form is submitted, and results in a failed login, returning
the patron to a blank log in screen.

The same behavior is in 18.11, 19.05, and 19.11.

-- 
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