[Koha-bugs] [Bug 33616] 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 19:27:09 CEST 2023


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

David Nind <david at davidnind.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #150248|0                           |1
        is obsolete|                            |

--- Comment #3 from David Nind <david at davidnind.com> ---
Created attachment 150249
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=150249&action=edit
Bug 33616: Make sure match() is evaluated against a string

To Test:

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
6. Apply patch
7. Try 2 - 3 again. This time the spinning icon should turn into a grey button
with the correct date.
8. There should no longer be a console error.

Signed-off-by: David Nind <david at davidnind.com>

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


More information about the Koha-bugs mailing list