[Koha-bugs] [Bug 33616] New: JavaScript error in when using claims return button in checkout table

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Apr 26 17:07:23 CEST 2023


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

            Bug ID: 33616
           Summary: JavaScript error in when using claims return button in
                    checkout table
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5 - low
         Component: Circulation
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: lucas at bywatersolutions.com
        QA Contact: testopia at bugs.koha-community.org
                CC: gmcharlt at gmail.com, kyle.m.hall at gmail.com

To recreate:

1. Set ClaimReturnedLostValue to a LOST value
2. Check out an item to a patron.
3. Click the Claim returned button within the checkout table.
4. Get spinning icon in place of the button
5. In the web developer tools console: Uncaught TypeError: value.match is not a
function


Looks like this is coming from includes/js-date-format.inc:

 46             if ( ! value.match(/^\d{4}-\d{2}-\d{2}$/ ) ) {
 47                 m = m.tz(tz);
 48             }

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