[Bug 37189] New: Renewals: Koha prioritizes hard due date from circulation rules over manual due date, although the manual due date is earlier
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37189 Bug ID: 37189 Summary: Renewals: Koha prioritizes hard due date from circulation rules over manual due date, although the manual due date is earlier Change sponsored?: --- Product: Koha Version: 24.05 Hardware: All OS: All Status: NEW Severity: enhancement Priority: P5 - low Component: Circulation Assignee: koha-bugs@lists.koha-community.org Reporter: isabel.pineda@ds.edu.sv QA Contact: testopia@bugs.koha-community.org CC: gmcharlt@gmail.com, kyle.m.hall@gmail.com I wrote this comment last week in Bug 36393, but I am not sure if this bug is still being attended, so I decided to file a new bug. Please delete it if it is duplicated: After updating from version 23.11 to 24.05, the renewal for a specific date is not working anymore. Although I give a specific date for a specific renewal, the system takes automatically the hard due date from the circulation rules. e.g. In "Administration > Circulation rules" I save "15.08.2024" as hard due date for a specific item type and patron category. Then I go to one patron of the above category to renew his borrowed items, and manually select "30.07.2024" as due date. -> The system renews the items until 15.08.24. It ought to prioritize the manual due date for this specific patron. -- 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=37189 Emily Lamancusa <emily.lamancusa@montgomerycountymd.gov> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |emily.lamancusa@montgomeryc | |ountymd.gov --- Comment #1 from Emily Lamancusa <emily.lamancusa@montgomerycountymd.gov> --- Hi Isabel, can you double-check if you're on version 24.05.00, 24.05.01, or 24.05.02? The version number should be displayed in the bottom-right of Koha's home screen. -- 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=37189 --- Comment #2 from Isabel Pineda <isabel.pineda@ds.edu.sv> --- I'm on 24.05.02. I filed the bug when I was still on 24.05.01. Today I updated to 24.05.02, but it is still not working. -- 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=37189 Emily Lamancusa <emily.lamancusa@montgomerycountymd.gov> changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|enhancement |major Depends on| |37332 --- Comment #3 from Emily Lamancusa <emily.lamancusa@montgomerycountymd.gov> --- I can't seem to reproduce the problem on 24.05.02. Are you renewing the item by scanning it into the checkout field with the "Specify due date" option, or by using the Renew buttons and Renewal due date field below the patron's Checkouts table? Can you give us an example of what values you have set in the Circulation rules for: Hard due date Decreased loan period for high holds (day) Renewals allowed (count) Renewal period No renewal before Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37332 [Bug 37332] Renewal due date and renew as unseen fields not respected when renewing an item from the patron account -- 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=37189 --- Comment #4 from Isabel Pineda <isabel.pineda@ds.edu.sv> --- Ok, there seems to be a new error since the update to 24.05.02: When I try to go to the page Administration > Circulation Rules, I get a 500 error. The log file says: [Tue Jul 30 15:01:44.055849 2024] [cgi:error] [pid 1353630] [client 190.5.137.178:39567] AH01215: Template process failed: undef error - Can't call method "description" on an undefined value at /usr/share/koha/lib/Koha/Template/Plugin/Categories.pm line 39.: /usr/share/koha/intranet/cgi-bin/admin/smart-rules.pl, referer: https://biblioteca-intra.ds.edu.sv/cgi-bin/koha/admin/admin-home.pl I will file a new bug for this error. The setting was like this: For the patron category "Teacher" I have a hard due date as of 06.06.2025 (this is the end of the new school year). When I go to the register of a specific teacher and check one of his books for Renewal and choose, for example, August 15 2025 as the renewal date, when I press "Renew selected items", this item gets renewed until 06.06.2025. I am using Koha in Spanish, maybe this has something to do with it? -- 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=37189 David Nind <david@davidnind.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |david@davidnind.com -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37189 --- Comment #5 from Isabel Pineda <isabel.pineda@ds.edu.sv> --- (In reply to Isabel Pineda from comment #4)
Ok, there seems to be a new error since the update to 24.05.02: When I try to go to the page Administration > Circulation Rules, I get a 500 error. The log file says: [Tue Jul 30 15:01:44.055849 2024] [cgi:error] [pid 1353630] [client 190.5.137.178:39567] AH01215: Template process failed: undef error - Can't call method "description" on an undefined value at /usr/share/koha/lib/Koha/Template/Plugin/Categories.pm line 39.: /usr/share/koha/intranet/cgi-bin/admin/smart-rules.pl, referer: https://biblioteca-intra.ds.edu.sv/cgi-bin/koha/admin/admin-home.pl I will file a new bug for this error.
The setting was like this: For the patron category "Teacher" I have a hard due date as of 06.06.2025 (this is the end of the new school year). When I go to the register of a specific teacher and check one of his books for Renewal and choose, for example, August 15 2025 as the renewal date, when I press "Renew selected items", this item gets renewed until 06.06.2025.
I am using Koha in Spanish, maybe this has something to do with it?
Ok, after resolving the 500 error, the renewals seem to be working normally again. Thank you. -- 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=37189 Emily Lamancusa <emily.lamancusa@montgomerycountymd.gov> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |WORKSFORME --- Comment #6 from Emily Lamancusa <emily.lamancusa@montgomerycountymd.gov> --- (In reply to Isabel Pineda from comment #5)
Ok, after resolving the 500 error, the renewals seem to be working normally again. Thank you.
Glad to hear it! -- 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=37189 Bug 37189 depends on bug 37332, which changed state. Bug 37332 Summary: Renewal due date and renew as unseen fields not respected when renewing an item from the patron account https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37332 What |Removed |Added ---------------------------------------------------------------------------- Status|Needs documenting |RESOLVED Resolution|--- |FIXED -- 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=37189 Natasha Jones <natasha.jones@westsussex.gov.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |natasha.jones@westsussex.go | |v.uk Resolution|WORKSFORME |--- Status|CLOSED |REOPENED --- Comment #7 from Natasha Jones <natasha.jones@westsussex.gov.uk> --- Renewing an item with a specific date on the same date the item has been renewed (e.g. for holiday loan) does not work on Koha. This can be done the day after renewal -- 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=37189 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |WORKSFORME Status|REOPENED |RESOLVED --- Comment #8 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- (In reply to Natasha Jones from comment #7)
Renewing an item with a specific date on the same date the item has been renewed (e.g. for holiday loan) does not work on Koha. This can be done the day after renewal
Hi Natasha, this bug was about the hard due day affecting renewals - please open a new bug report. Best to include a step by step description on how to make the bug manifest! :) -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org