[Bug 23829] New: Software error page during check in item that has fine {Software error: The 'days' parameter (undef) to Datetime::Duration::new which was an 'undef' which is not one of the allowed type: scalar (Duration.pm line 28)}
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23829 Bug ID: 23829 Summary: Software error page during check in item that has fine {Software error: The 'days' parameter (undef) to Datetime::Duration::new which was an 'undef' which is not one of the allowed type: scalar (Duration.pm line 28)} Change sponsored?: --- Product: Koha Version: 18.11 Hardware: Other OS: Other Status: NEW Severity: major Priority: P5 - low Component: Circulation Assignee: koha-bugs@lists.koha-community.org Reporter: hamsiah@interxs.com.my QA Contact: testopia@bugs.koha-community.org CC: gmcharlt@gmail.com, kyle.m.hall@gmail.com Created attachment 94359 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=94359&action=edit Software error page during check in item that has fine Hello community, A software error page is returned when trying to Check In an item that has fine (OVERDUE). The error is "Software error: The 'days' parameter (undef) to Datetime::Duration::new which was an 'undef' which is not one of the allowed type: scalar (Duration.pm line 28)". This error happened in koha version 18.11. -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23829 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jonathan.druart@bugs.koha-c | |ommunity.org, | |katrin.fischer@bsz-bw.de -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23829 --- Comment #1 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- Do you have a default circulation rule? What is the value of 'Fine grace period' (firstremind)? -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23829 --- Comment #2 from ciarebaha <hamsiah@interxs.com.my> --- Thank you Jonathan Druart, for your response. Our organisation doesn't include grace period in our setting. The fine keep on increasing daily. Please refer attachment (latest) for our setting. (In reply to Jonathan Druart from comment #1)
Do you have a default circulation rule? What is the value of 'Fine grace period' (firstremind)?
-- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23829 --- Comment #3 from ciarebaha <hamsiah@interxs.com.my> --- Created attachment 94598 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=94598&action=edit Grace period setting is "don't include" -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23829 Owen Leonard <oleonard@myacpl.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|Software error page during |Software error when |check in item that has fine |checking in an item that |{Software error: The 'days' |has a fine |parameter (undef) to | |Datetime::Duration::new | |which was an 'undef' which | |is not one of the allowed | |type: scalar (Duration.pm | |line 28)} | -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23829 --- Comment #4 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- Do you have a default circulation rule? Go to "Home › Administration › Circulation and fine rules" If you can connect to the server it would help to know what are the value of a couple of rules: SELECT firstremind, finedays from issuingrules; -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23829 ciarebaha <hamsiah@interxs.com.my> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|NEW |RESOLVED --- Comment #5 from ciarebaha <hamsiah@interxs.com.my> --- This error is fixed. Even if we select "don't include" for fine grace period, we still have to set value grace period as zero @ '0' in circulation rule setting. If we leave it '' or blank, this kind of error will occur. Thanks for giving me some sort if idea to make this things working fine. -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org