The warnings: [WARN] Argument "" isn't numeric in numeric gt (>) at /kohadevbox/koha/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt line 1072. [WARN] Argument "" isn't numeric in numeric gt (>) at /kohadevbox/koha/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt line 1188. appears in the plack-intranet-error.log. To reproduce: 1. Use a fresh KTD, observe plack-intranet-error.log. 2. Find any patron and go to "Check out" tab. ==> Warnings should appear in plack-intranet-error.log
Created attachment 193938 [details] [review] Bug 41938: Argument "" isn't numeric in numeric gt (>) ... warnings in circulation.tt The warnings: [WARN] Argument "" isn't numeric in numeric gt (>) at /kohadevbox/koha/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt line 1072. [WARN] Argument "" isn't numeric in numeric gt (>) at /kohadevbox/koha/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt line 1188. appears in the plack-intranet-error.log. Test plan: ========== 1. Use a fresh KTD, observe plack-intranet-error.log. 2. Find any patron and go to "Check out" tab. ==> Warnings should appear in plack-intranet-error.log 3. Apply the patch; restart_all. 4. Repeat 2. No warnings in plack-intranet-error.log Sponsored-by: Ignatianum University in Cracow
Created attachment 194150 [details] [review] Bug 41938: Argument "" isn't numeric in numeric gt (>) ... warnings in circulation.tt The warnings: [WARN] Argument "" isn't numeric in numeric gt (>) at /kohadevbox/koha/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt line 1072. [WARN] Argument "" isn't numeric in numeric gt (>) at /kohadevbox/koha/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt line 1188. appears in the plack-intranet-error.log. Test plan: ========== 1. Use a fresh KTD, observe plack-intranet-error.log. 2. Find any patron and go to "Check out" tab. ==> Warnings should appear in plack-intranet-error.log 3. Apply the patch; restart_all. 4. Repeat 2. No warnings in plack-intranet-error.log Sponsored-by: Ignatianum University in Cracow Signed-off-by: David Nind <david@davidnind.com>
Testing notes (using KTD): 1. For me, the warnings only appeared once after starting KTD. 2. Steps to reproduce: 2.1 Start up KTD: ktd up 2.2 Log in to the staff interface 2.3 Go to Patrons > search for a patron (such as Mary) 2.4 Result: you are on the details tab for patron 2.5 Switch to the check out section for the patron 2.6 Result: the warning appears in the log 3. Doing the same in step 2 for another patron did not add additional warnings to the log. 4. A restart_all (along with clearing the browser cache) or a reset_all also did not add additional warnings to the log.
(In reply to David Nind from comment #3) > Testing notes (using KTD): > > 1. For me, the warnings only appeared once after starting KTD. ... David, thank you for testing and notes. Indeed, the warnings only appear the first time. I don't know what causes this behavior, see bug 41722.