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

--- Comment #4 from David Cook <[email protected]> ---
(In reply to Aleisha Amohia from comment #0)
> to reproduce: set the ClaimReturnedLostValue system preference. check out an
> item, then do a return claim. once the button is clicked, it looks like it
> keeps loading or processing until you refresh the page

There is a Javascript error that shows up in the console:

circulation.pl:1365 Uncaught TypeError: value.match is not a function
    at window.$date (circulation.pl:1365:26)
    at window.$datetime (circulation.pl:1384:20)
    at Object.success (circulation.pl:1855:33)
    at c (jquery-3.6.0.min_22.1104000.js:2:28327)
    at Object.fireWith [as resolveWith]
(jquery-3.6.0.min_22.1104000.js:2:29072)
    at l (jquery-3.6.0.min_22.1104000.js:2:79901)
    at XMLHttpRequest.<anonymous> (jquery-3.6.0.min_22.1104000.js:2:82355)

It looks like it's just a bug in some Javascript in circulation.pl or with the
API /api/v1/return_claims. 

As often happens in Koha, there isn't enough error checking/handling. 

I'll leave that one for you to investigate.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to