| Summary: | Argument "" isn't numeric in numeric gt (>) ... warnings in circulation.tt | ||
|---|---|---|---|
| Product: | Koha | Reporter: | Roman Dolny <roman.dolny> |
| Component: | Circulation | Assignee: | Roman Dolny <roman.dolny> |
| Status: | Signed Off --- | QA Contact: | Testopia <testopia> |
| Severity: | trivial | ||
| Priority: | P5 - low | CC: | david, gmcharlt, kyle |
| Version: | Main | ||
| Hardware: | All | ||
| OS: | All | ||
| GIT URL: | Initiative type: | --- | |
| Sponsorship status: | Sponsored | Comma delimited list of Sponsors: | Ignatianum University in Cracow |
| Crowdfunding goal: | 0 | Patch complexity: | --- |
| Documentation contact: | Documentation submission: | ||
| Text to go in the release notes: | Version(s) released in: | ||
| Circulation function: | |||
| Attachments: |
Bug 41938: Argument "" isn't numeric in numeric gt (>) ... warnings in circulation.tt
Bug 41938: Argument "" isn't numeric in numeric gt (>) ... warnings in circulation.tt |
||
|
Description
Roman Dolny
2026-02-25 18:44:43 UTC
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. |