[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 17:30:35 CEST 2023


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

--- Comment #2 from Lucas Gass <lucas at bywatersolutions.com> ---
Created attachment 150248
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=150248&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.

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


More information about the Koha-bugs mailing list