[Koha-bugs] [Bug 16344] Add a circ rule to limit the auto renewals given a specific date
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16344 --- Comment #45 from Jonathan Druart--- (In reply to Jonathan Druart from comment #44) > Created attachment 63707 [details] [review] > Bug 16344: Fix test in GetHardDueDate.t Pushed to master -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://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/
[Koha-bugs] [Bug 16344] Add a circ rule to limit the auto renewals given a specific date
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16344 --- Comment #44 from Jonathan Druart--- Created attachment 63707 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=63707=edit Bug 16344: Fix test in GetHardDueDate.t -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://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/
[Koha-bugs] [Bug 16344] Add a circ rule to limit the auto renewals given a specific date
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16344 Katrin Fischerchanged: What|Removed |Added CC||katrin.fisc...@bsz-bw.de Status|Pushed to Master|RESOLVED Resolution|--- |FIXED --- Comment #43 from Katrin Fischer --- This won't get ported back to 16.11.x as it is an enhancement. -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://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/
[Koha-bugs] [Bug 16344] Add a circ rule to limit the auto renewals given a specific date
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16344 Kyle M Hallchanged: What|Removed |Added CC||k...@bywatersolutions.com Status|Passed QA |Pushed to Master --- Comment #42 from Kyle M Hall --- Pushed to master for 17.05, thanks Jonathan! -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://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/
[Koha-bugs] [Bug 16344] Add a circ rule to limit the auto renewals given a specific date
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16344 --- Comment #41 from Nick Clemens--- Created attachment 62822 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=62822=edit Bug 16344: [DO NOT PUSH] Schema changes Signed-off-by: Jonathan Field Signed-off-by: Janet McGowan Signed-off-by: Nick Clemens -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://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/
[Koha-bugs] [Bug 16344] Add a circ rule to limit the auto renewals given a specific date
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16344 --- Comment #40 from Nick Clemens--- Created attachment 62821 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=62821=edit Bug 16344: Fix alignment between top and bottom columns Signed-off-by: Jonathan Field Signed-off-by: Janet McGowan Signed-off-by: Nick Clemens -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://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/
[Koha-bugs] [Bug 16344] Add a circ rule to limit the auto renewals given a specific date
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16344 Nick Clemenschanged: What|Removed |Added Attachment #61511|0 |1 is obsolete|| Attachment #61512|0 |1 is obsolete|| Attachment #61513|0 |1 is obsolete|| --- Comment #39 from Nick Clemens --- Created attachment 62820 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=62820=edit Bug 16344: Add a circ rule to limit the auto renewals given a specific This patch adds a new circulation rule (no_auto_renewal_after_hard_limit) to block/allow auto renewals after a given date. The idea is to stop renewals at a given date. That way the library will have time to send overdues and get the books back before the students do on holiday. Test plan: 0/ Execute the update DB entry 1/ Define a rule with no_auto_renewal_after_hard_limit set to tomorrow 2/ Modify the issues.issuedate, to simulate a checkout in the past: UPDATE issues SET issuedate = "-mm-dd hh:mm:ss" WHERE itemnumber = YOUR_ITEMNUMBER; with issuedate = 2 days before for instance 3/ Execute the automatic renewals cronjob script (misc/cronjobs/automatic_renewals.pl) Confirm that the issue has been renewed 4/ Modify the no_auto_renewal_after_hard_limit and set it to yesterday 5/ Execute the automatic renewals cronjob script (misc/cronjobs/automatic_renewals.pl) Confirm that the issue has not been renewed Signed-off-by: Jonathan Field Signed-off-by: Janet McGowan Signed-off-by: Nick Clemens -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://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/
[Koha-bugs] [Bug 16344] Add a circ rule to limit the auto renewals given a specific date
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16344 Nick Clemenschanged: What|Removed |Added Status|Signed Off |Passed QA -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://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/
[Koha-bugs] [Bug 16344] Add a circ rule to limit the auto renewals given a specific date
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16344 Martin Renvoizechanged: What|Removed |Added CC||martin.renvoize@ptfs-europe ||.com Status|Needs Signoff |Signed Off --- Comment #38 from Martin Renvoize --- Acting as git gopher for Jonathan Field and Janet McGowan again here, they did the actual testing and signoff. -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://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/
[Koha-bugs] [Bug 16344] Add a circ rule to limit the auto renewals given a specific date
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16344 Martin Renvoizechanged: What|Removed |Added Attachment #61076|0 |1 is obsolete|| --- Comment #37 from Martin Renvoize --- Created attachment 61513 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=61513=edit Bug 16344: [DO NOT PUSH] Schema changes Signed-off-by: Jonathan Field Signed-off-by: Janet McGowan -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://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/
[Koha-bugs] [Bug 16344] Add a circ rule to limit the auto renewals given a specific date
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16344 Martin Renvoizechanged: What|Removed |Added Attachment #61074|0 |1 is obsolete|| --- Comment #35 from Martin Renvoize --- Created attachment 61511 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=61511=edit Bug 16344: Add a circ rule to limit the auto renewals given a specific This patch adds a new circulation rule (no_auto_renewal_after_hard_limit) to block/allow auto renewals after a given date. The idea is to stop renewals at a given date. That way the library will have time to send overdues and get the books back before the students do on holiday. Test plan: 0/ Execute the update DB entry 1/ Define a rule with no_auto_renewal_after_hard_limit set to tomorrow 2/ Modify the issues.issuedate, to simulate a checkout in the past: UPDATE issues SET issuedate = "-mm-dd hh:mm:ss" WHERE itemnumber = YOUR_ITEMNUMBER; with issuedate = 2 days before for instance 3/ Execute the automatic renewals cronjob script (misc/cronjobs/automatic_renewals.pl) Confirm that the issue has been renewed 4/ Modify the no_auto_renewal_after_hard_limit and set it to yesterday 5/ Execute the automatic renewals cronjob script (misc/cronjobs/automatic_renewals.pl) Confirm that the issue has not been renewed Signed-off-by: Jonathan Field Signed-off-by: Janet McGowan -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://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/
[Koha-bugs] [Bug 16344] Add a circ rule to limit the auto renewals given a specific date
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16344 Martin Renvoizechanged: What|Removed |Added Attachment #61075|0 |1 is obsolete|| --- Comment #36 from Martin Renvoize --- Created attachment 61512 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=61512=edit Bug 16344: Fix alignment between top and bottom columns Signed-off-by: Jonathan Field Signed-off-by: Janet McGowan -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://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/
[Koha-bugs] [Bug 16344] Add a circ rule to limit the auto renewals given a specific date
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16344 --- Comment #33 from Jonathan Druart--- Created attachment 61075 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=61075=edit Bug 16344: Fix alignment between top and bottom columns -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://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/
[Koha-bugs] [Bug 16344] Add a circ rule to limit the auto renewals given a specific date
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16344 Jonathan Druartchanged: What|Removed |Added Attachment #57735|0 |1 is obsolete|| Attachment #57736|0 |1 is obsolete|| Attachment #57737|0 |1 is obsolete|| --- Comment #32 from Jonathan Druart --- Created attachment 61074 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=61074=edit Bug 16344: Add a circ rule to limit the auto renewals given a specific This patch adds a new circulation rule (no_auto_renewal_after_hard_limit) to block/allow auto renewals after a given date. The idea is to stop renewals at a given date. That way the library will have time to send overdues and get the books back before the students do on holiday. Test plan: 0/ Execute the update DB entry 1/ Define a rule with no_auto_renewal_after_hard_limit set to tomorrow 2/ Modify the issues.issuedate, to simulate a checkout in the past: UPDATE issues SET issuedate = "-mm-dd hh:mm:ss" WHERE itemnumber = YOUR_ITEMNUMBER; with issuedate = 2 days before for instance 3/ Execute the automatic renewals cronjob script (misc/cronjobs/automatic_renewals.pl) Confirm that the issue has been renewed 4/ Modify the no_auto_renewal_after_hard_limit and set it to yesterday 5/ Execute the automatic renewals cronjob script (misc/cronjobs/automatic_renewals.pl) Confirm that the issue has not been renewed -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://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/
[Koha-bugs] [Bug 16344] Add a circ rule to limit the auto renewals given a specific date
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16344 --- Comment #34 from Jonathan Druart--- Created attachment 61076 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=61076=edit Bug 16344: [DO NOT PUSH] Schema changes -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://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/
[Koha-bugs] [Bug 16344] Add a circ rule to limit the auto renewals given a specific date
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16344 Jonathan Druartchanged: What|Removed |Added Attachment #56751|0 |1 is obsolete|| --- Comment #30 from Jonathan Druart --- Created attachment 57736 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=57736=edit Bug 16344: Fix alignment between top and bottom columns -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://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/
[Koha-bugs] [Bug 16344] Add a circ rule to limit the auto renewals given a specific date
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16344 Jonathan Druartchanged: What|Removed |Added Attachment #56977|0 |1 is obsolete|| --- Comment #31 from Jonathan Druart --- Created attachment 57737 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=57737=edit Bug 16344: [DO NOT PUSH] Schema changes -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://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/
[Koha-bugs] [Bug 16344] Add a circ rule to limit the auto renewals given a specific date
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16344 Jonathan Druartchanged: What|Removed |Added Attachment #56750|0 |1 is obsolete|| --- Comment #29 from Jonathan Druart --- Created attachment 57735 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=57735=edit Bug 16344: Add a circ rule to limit the auto renewals given a specific This patch adds a new circulation rule (no_auto_renewal_after_hard_limit) to block/allow auto renewals after a given date. The idea is to stop renewals at a given date. That way the library will have time to send overdues and get the books back before the students do on holiday. Test plan: 0/ Execute the update DB entry 1/ Define a rule with no_auto_renewal_after_hard_limit set to tomorrow 2/ Modify the issues.issuedate, to simulate a checkout in the past: UPDATE issues SET issuedate = "-mm-dd hh:mm:ss" WHERE itemnumber = YOUR_ITEMNUMBER; with issuedate = 2 days before for instance 3/ Execute the automatic renewals cronjob script (misc/cronjobs/automatic_renewals.pl) Confirm that the issue has been renewed 4/ Modify the no_auto_renewal_after_hard_limit and set it to yesterday 5/ Execute the automatic renewals cronjob script (misc/cronjobs/automatic_renewals.pl) Confirm that the issue has not been renewed -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://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/
[Koha-bugs] [Bug 16344] Add a circ rule to limit the auto renewals given a specific date
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16344 --- Comment #28 from Janet McGowan--- Hi, I've just signed this off using our Sandbox. My testing plan as follows: Test plan: 0) I executed the update DB entry 1) I defined a rule with no_auto_renewal_after_hard_limit set to tomorrow 01/11/2016 2) I modified issues.issuedate, to simulate a checkout in the past: UPDATE issues SET issuedate = "2016-10-29 23:59:00" WHERE itemnumber = '6'; For my test the due date = 2016-11-01 (ie. due tomorrow). With this example it is also necessary to set a No renewal before value - e.g. 1 day in the Circulation rule - to allow the item to be autorenewed 1 day before it is due. 3) I ran the misc/cronjobs/automatic_renewals.pl I confirmed that the issue is renewed until 22/11/2016 (following 21 days in the Circulation rule) 4) I modified the no_auto_renewal_after_hard_limit and set it to yesterday 30/10/2016 5) I ran the misc/cronjobs/automatic_renewals.pl This time the issue has not been renewed - in the staff client the Renew column displays: "Can no longer be auto-renewed - number of checkout days exceeded" -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://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/
[Koha-bugs] [Bug 16344] Add a circ rule to limit the auto renewals given a specific date
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16344 Jonathan Druartchanged: What|Removed |Added Attachment #56752|0 |1 is obsolete|| --- Comment #27 from Jonathan Druart --- Created attachment 56977 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=56977=edit Bug 16344: [DO NOT PUSH] Schema changes -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://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/
[Koha-bugs] [Bug 16344] Add a circ rule to limit the auto renewals given a specific date
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16344 --- Comment #26 from Michael Kuhn--- Today I executed the renewals cronjob script again as follows: vagrant@kohadevbox:kohaclone(002)$ sudo koha-shell kohadev kohadev-koha@kohadevbox:/home/vagrant/kohaclone$ misc/cronjobs/automatic_renewals.pl Still I cannot confirm that the issue has been renewed. Instead, nothing has changed and the due date is still set to 29/10/2016. I will now definitely stop testing this case because it takes me far too much time for no result at all. I hope someone with better knowledge can successfully sign this off. -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://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/
[Koha-bugs] [Bug 16344] Add a circ rule to limit the auto renewals given a specific date
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16344 --- Comment #25 from Michael Kuhn--- OK, in the case I described the issue is usually not renewed automatically. I'll try again on 29/10/2016. -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://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/
[Koha-bugs] [Bug 16344] Add a circ rule to limit the auto renewals given a specific date
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16344 --- Comment #24 from Michael Kuhn--- Well, the test plan didn't say it can not be in the future... However as I know from my library days it is usual that users lend a book and they renew it as soon as possible, so they can keep it longer. Usually this is possible. -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://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/
[Koha-bugs] [Bug 16344] Add a circ rule to limit the auto renewals given a specific date
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16344 --- Comment #23 from Jonathan Druart--- (In reply to Michael Kuhn from comment #22) > Still I cannot confirm that the issue has been renewed. Instead, nothing has > changed and the due date is still set to 29/10/2016. If the due date is in the future, why do you want the issue to be renewed automatically? :) -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://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/
[Koha-bugs] [Bug 16344] Add a circ rule to limit the auto renewals given a specific date
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16344 --- Comment #22 from Michael Kuhn--- According to the test plan I did the following. I successfully applied patches 15581 and 16344. 0) I executed the update DB entry vagrant@kohadevbox:kohaclone(002)$ sudo koha-shell kohadev kohadev-koha@kohadevbox:/home/vagrant/kohaclone$ perl installer/data/mysql/updatedatabase.pl DEV atomic update: bug_15581.sql DEV atomic update: bug_16344.sql 1) In Koha menu "Administration > Circulation and fine rules" I defined a rule for all categories and all item types: * Loan period: 3 * Unit: days * Renewals allowed (count): 3 * Renewal period: 5 * No automatic renewal after (hard limit): 27/10/2016 Then I checked out the item with number 1 (otherwise it couldn't be updated with following statement). It gets the due date of 29/10/2016. 2) I modified the table "issues" with issuedate two days before as followes: UPDATE issues SET issuedate = "2016-10-24 14:00:00" WHERE itemnumber=1; 3) I executed the renewals cronjob script as follows: vagrant@kohadevbox:kohaclone(002)$ sudo koha-shell kohadev kohadev-koha@kohadevbox:/home/vagrant/kohaclone$ misc/cronjobs/automatic_renewals.pl Still I cannot confirm that the issue has been renewed. Instead, nothing has changed and the due date is still set to 29/10/2016. -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://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/
[Koha-bugs] [Bug 16344] Add a circ rule to limit the auto renewals given a specific date
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16344 --- Comment #21 from Jonathan Druart--- (In reply to Michael Kuhn from comment #20) > mysql> SELECT issuelength, lengthunit, renewalperiod FROM issuingrules; > +-++---+ > | issuelength | lengthunit | renewalperiod | > +-++---+ > |NULL | days | 0 | > +-++---+ > > These are the standard values in the kohadevbox. Should I set these to > different values? Which are these? Yes, the issuelength and renewalperiod should be defined and set to something > 0 -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://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/
[Koha-bugs] [Bug 16344] Add a circ rule to limit the auto renewals given a specific date
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16344 --- Comment #20 from Michael Kuhn--- mysql> SELECT issuelength, lengthunit, renewalperiod FROM issuingrules; +-++---+ | issuelength | lengthunit | renewalperiod | +-++---+ |NULL | days | 0 | +-++---+ These are the standard values in the kohadevbox. Should I set these to different values? Which are these? -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://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/
[Koha-bugs] [Bug 16344] Add a circ rule to limit the auto renewals given a specific date
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16344 --- Comment #19 from Jonathan Druart--- (In reply to Michael Kuhn from comment #18) > I still cannot confirm that the issue has been renewed. Instead, nothing has > changed (the due date is still set to 25/10/2016). Check your issuing rules: SELECT issuelength, lengthunit, renewalperiod FROM issuingrules; -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://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/
[Koha-bugs] [Bug 16344] Add a circ rule to limit the auto renewals given a specific date
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16344 --- Comment #18 from Michael Kuhn--- According to the test plan I did the following. I successfully applied patches 15581 and 16344. 0) I executed the update DB entry vagrant@kohadevbox:kohaclone(002)$ sudo koha-shell kohadev kohadev-koha@kohadevbox:/home/vagrant/kohaclone$ perl installer/data/mysql/updatedatabase.pl DEV atomic update: bug_15581.sql DEV atomic update: bug_16344.sql 1) In Koha menu "Administration > Circulation and fine rules" I defined a rule for all categories and all item types: * Renewals allowed (count): 3 * No automatic renewal after (hard limit): 27/10/2016 Then I checked out the item with number 1 (otherwise it couldn't be updated with following statement). 2) I modified the table "issues" with issuedate two days before as followes: UPDATE issues SET issuedate = "2016-10-24 14:48:00" WHERE itemnumber=1; 3) I executed the renewals cronjob script as follows: vagrant@kohadevbox:kohaclone(002)$ sudo koha-shell kohadev kohadev-koha@kohadevbox:/home/vagrant/kohaclone$ misc/cronjobs/automatic_renewals.pl I still cannot confirm that the issue has been renewed. Instead, nothing has changed (the due date is still set to 25/10/2016). -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://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/
[Koha-bugs] [Bug 16344] Add a circ rule to limit the auto renewals given a specific date
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16344 --- Comment #16 from Jonathan Druart--- Created attachment 56751 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=56751=edit Bug 16344: Fix alignment between top and bottom columns -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://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/
[Koha-bugs] [Bug 16344] Add a circ rule to limit the auto renewals given a specific date
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16344 --- Comment #17 from Jonathan Druart--- Created attachment 56752 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=56752=edit Bug 16344: [DO NOT PUSH] Schema changes -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://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/
[Koha-bugs] [Bug 16344] Add a circ rule to limit the auto renewals given a specific date
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16344 Jonathan Druartchanged: What|Removed |Added Attachment #56616|0 |1 is obsolete|| Attachment #56617|0 |1 is obsolete|| Attachment #56618|0 |1 is obsolete|| --- Comment #15 from Jonathan Druart --- Created attachment 56750 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=56750=edit Bug 16344: Add a circ rule to limit the auto renewals given a specific This patch adds a new circulation rule (no_auto_renewal_after_hard_limit) to block/allow auto renewals after a given date. The idea is to stop renewals at a given date. That way the library will have time to send overdues and get the books back before the students do on holiday. Test plan: 0/ Execute the update DB entry 1/ Define a rule with no_auto_renewal_after_hard_limit set to tomorrow 2/ Modify the issues.issuedate, to simulate a checkout in the past: UPDATE issues SET issuedate = "-mm-dd hh:mm:ss" WHERE itemnumber = YOUR_ITEMNUMBER; with issuedate = 2 days before for instance 3/ Execute the automatic renewals cronjob script (misc/cronjobs/automatic_renewals.pl) Confirm that the issue has been renewed 4/ Modify the no_auto_renewal_after_hard_limit and set it to yesterday 5/ Execute the automatic renewals cronjob script (misc/cronjobs/automatic_renewals.pl) Confirm that the issue has not been renewed -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://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/
[Koha-bugs] [Bug 16344] Add a circ rule to limit the auto renewals given a specific date
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16344 --- Comment #14 from Michael Kuhn--- According to the test plan I did the following. I successfully applied patches 15581 and 16344. 0) I executed the update DB entry vagrant@kohadevbox:kohaclone(003)$ sudo koha-shell kohadev kohadev-koha@kohadevbox:/home/vagrant/kohaclone$ perl installer/data/mysql/updatedatabase.pl DEV atomic update: bug_15581.sql DEV atomic update: bug_16344.sql 1) In Koha menu "Administration > Circulation and fine rules" I defined a rule for all categories and all item types: * Renewals allowed (count): 3 * No automatic renewal after (hard limit): 20/10/2016 Then I checked out the item with number 1 (otherwise it couldn't be updated with following statement). 2) I modified the table "issues" with issuedate two days before as followes: UPDATE issues SET issuedate = "2016-10-17 22:48:00" WHERE itemnumber=1; 3) I executed the renewals cronjob script as follows: vagrant@kohadevbox:kohaclone(003)$ sudo koha-shell kohadev kohadev-koha@kohadevbox:/home/vagrant/kohaclone$ misc/cronjobs/automatic_renewals.pl I cannot confirm that the issue has been renewed. Instead, nothing has changed. -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://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/
[Koha-bugs] [Bug 16344] Add a circ rule to limit the auto renewals given a specific date
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16344 --- Comment #13 from Jonathan Druart--- Patches rebased. -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://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/
[Koha-bugs] [Bug 16344] Add a circ rule to limit the auto renewals given a specific date
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16344 --- Comment #12 from Jonathan Druart--- Created attachment 56618 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=56618=edit Bug 16344: [DO NOT PUSH] Schema changes -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://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/
[Koha-bugs] [Bug 16344] Add a circ rule to limit the auto renewals given a specific date
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16344 --- Comment #11 from Jonathan Druart--- Created attachment 56617 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=56617=edit Bug 16344: Fix alignment between top and bottom columns -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://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/
[Koha-bugs] [Bug 16344] Add a circ rule to limit the auto renewals given a specific date
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16344 Jonathan Druartchanged: What|Removed |Added Attachment #53428|0 |1 is obsolete|| Attachment #53429|0 |1 is obsolete|| Attachment #53430|0 |1 is obsolete|| --- Comment #10 from Jonathan Druart --- Created attachment 56616 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=56616=edit Bug 16344: Add a circ rule to limit the auto renewals given a specific This patch adds a new circulation rule (no_auto_renewal_after_hard_limit) to block/allow auto renewals after a given date. The idea is to stop renewals at a given date. That way the library will have time to send overdues and get the books back before the students do on holiday. Test plan: 0/ Execute the update DB entry 1/ Define a rule with no_auto_renewal_after_hard_limit set to tomorrow 2/ Modify the issues.issuedate, to simulate a checkout in the past: UPDATE issues SET issuedate = "-mm-dd hh:mm:ss" WHERE itemnumber = YOUR_ITEMNUMBER; with issuedate = 2 days before for instance 3/ Execute the automatic renewals cronjob script (misc/cronjobs/automatic_renewals.pl) Confirm that the issue has been renewed 4/ Modify the no_auto_renewal_after_hard_limit and set it to yesterday 5/ Execute the automatic renewals cronjob script (misc/cronjobs/automatic_renewals.pl) Confirm that the issue has not been renewed -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://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/
[Koha-bugs] [Bug 16344] Add a circ rule to limit the auto renewals given a specific date
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16344 Michael Kuhnchanged: What|Removed |Added CC||m...@adminkuhn.ch --- Comment #9 from Michael Kuhn --- First I successfully applied bug 15581: vagrant@kohadevbox:kohaclone(003)$ git bz apply 15581 ... Applying: Bug 15581: Add a circ rule to limit the auto renewals given a delay Applying: Bug 15581: Display the latest auto renew date possible when renewing manually Applying: Bug 15581: Display the generic "schedule for auto renew" message on the checkouts table Applying: Bug 15581: [DO NOT PUSH] Schema changes Then I tried to apply bug 16344 but this failed with the same message as given by Liz Rea: vagrant@kohadevbox:kohaclone(003)$ git bz apply 16344 ... Applying: Bug 16344: Add a circ rule to limit the auto renewals given a specific fatal: sha1 information is lacking or useless (C4/Circulation.pm). Repository lacks necessary blobs to fall back on 3-way merge. Cannot fall back to three-way merge. Patch failed at 0001 Bug 16344: Add a circ rule to limit the auto renewals given a specific ... -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://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/
[Koha-bugs] [Bug 16344] Add a circ rule to limit the auto renewals given a specific date
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16344 Janet McGowanchanged: What|Removed |Added CC||janet.mcgowan@ptfs-europe.c ||om -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://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/
[Koha-bugs] [Bug 16344] Add a circ rule to limit the auto renewals given a specific date
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16344 --- Comment #8 from Jonathan Druart--- (In reply to Liz Rea from comment #7) > Applying: Bug 16344: Add a circ rule to limit the auto renewals given a > specific > fatal: sha1 information is lacking or useless (C4/Circulation.pm). > Repository lacks necessary blobs to fall back on 3-way merge. > Cannot fall back to three-way merge. > Patch failed at 0001 Bug 16344: Add a circ rule to limit the auto renewals > given a specific > > :( It applies cleanly on top of bug 15581. Please try again. -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://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/
[Koha-bugs] [Bug 16344] Add a circ rule to limit the auto renewals given a specific date
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16344 Jonathan Druartchanged: What|Removed |Added Status|Patch doesn't apply |Needs Signoff -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://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/
[Koha-bugs] [Bug 16344] Add a circ rule to limit the auto renewals given a specific date
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16344 Liz Reachanged: What|Removed |Added CC||l...@catalyst.net.nz Status|Needs Signoff |Patch doesn't apply --- Comment #7 from Liz Rea --- Applying: Bug 16344: Add a circ rule to limit the auto renewals given a specific fatal: sha1 information is lacking or useless (C4/Circulation.pm). Repository lacks necessary blobs to fall back on 3-way merge. Cannot fall back to three-way merge. Patch failed at 0001 Bug 16344: Add a circ rule to limit the auto renewals given a specific :( -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://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/
[Koha-bugs] [Bug 16344] Add a circ rule to limit the auto renewals given a specific date
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16344 Jonathan Druartchanged: What|Removed |Added Attachment #50677|0 |1 is obsolete|| --- Comment #5 from Jonathan Druart --- Created attachment 53429 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=53429=edit Bug 16344: [DO NOT PUSH] Schema changes -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://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/
[Koha-bugs] [Bug 16344] Add a circ rule to limit the auto renewals given a specific date
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16344 Jonathan Druartchanged: What|Removed |Added Attachment #50676|0 |1 is obsolete|| --- Comment #4 from Jonathan Druart --- Created attachment 53428 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=53428=edit Bug 16344: Add a circ rule to limit the auto renewals given a specific This patch adds a new circulation rule (no_auto_renewal_after_hard_limit) to block/allow auto renewals after a given date. The idea is to stop renewals at a given date. That way the library will have time to send overdues and get the books back before the students do on holiday. Test plan: 0/ Execute the update DB entry 1/ Define a rule with no_auto_renewal_after_hard_limit set to tomorrow 2/ Modify the issues.issuedate, to simulate a checkout in the past: UPDATE issues SET issuedate = "-mm-dd hh:mm:ss" WHERE itemnumber = YOUR_ITEMNUMBER; with issuedate = 2 days before for instance 3/ Execute the automatic renewals cronjob script (misc/cronjobs/automatic_renewals.pl) Confirm that the issue has been renewed 4/ Modify the no_auto_renewal_after_hard_limit and set it to yesterday 5/ Execute the automatic renewals cronjob script (misc/cronjobs/automatic_renewals.pl) Confirm that the issue has not been renewed -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://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/
[Koha-bugs] [Bug 16344] Add a circ rule to limit the auto renewals given a specific date
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16344 Jonathan Druartchanged: What|Removed |Added Status|BLOCKED |Needs Signoff -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://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/
[Koha-bugs] [Bug 16344] Add a circ rule to limit the auto renewals given a specific date
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16344 Jonathan Druartchanged: What|Removed |Added Attachment #50725|0 |1 is obsolete|| --- Comment #6 from Jonathan Druart --- Created attachment 53430 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=53430=edit Bug 16344: Fix alignment between top and bottom columns -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://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/
[Koha-bugs] [Bug 16344] Add a circ rule to limit the auto renewals given a specific date
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16344 Owen Leonardchanged: What|Removed |Added Status|Needs Signoff |BLOCKED -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://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/
[Koha-bugs] [Bug 16344] Add a circ rule to limit the auto renewals given a specific date
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16344 Jonathan Druartchanged: What|Removed |Added Blocks||16413 Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16413 [Bug 16413] Prototype for GetLatestAutoRenewDate and GetSoonestRenewDate should be changed -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://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/
[Koha-bugs] [Bug 16344] Add a circ rule to limit the auto renewals given a specific date
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16344 --- Comment #3 from Jonathan Druart--- Created attachment 50725 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=50725=edit Bug 16344: Fix alignment between top and bottom columns -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://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/
[Koha-bugs] [Bug 16344] Add a circ rule to limit the auto renewals given a specific date
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16344 Jonathan Druartchanged: What|Removed |Added Blocks||15582 Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15582 [Bug 15582] Ability to block auto renewals if the OPACFineNoRenewals amount is reached -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://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/
[Koha-bugs] [Bug 16344] Add a circ rule to limit the auto renewals given a specific date
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16344 --- Comment #1 from Jonathan Druart--- Created attachment 50676 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=50676=edit Bug 16344: Add a circ rule to limit the auto renewals given a specific This patch adds a new circulation rule (no_auto_renewal_after_hard_limit) to block/allow auto renewals after a given date. The idea is to stop renewals at a given date. That way the library will have time to send overdues and get the books back before the students do on holiday. Test plan: 0/ Execute the update DB entry 1/ Define a rule with no_auto_renewal_after_hard_limit set to tomorrow 2/ Modify the issues.issuedate, to simulate a checkout in the past: UPDATE issues SET issuedate = "-mm-dd hh:mm:ss" WHERE itemnumber = YOUR_ITEMNUMBER; with issuedate = 2 days before for instance 3/ Execute the automatic renewals cronjob script (misc/cronjobs/automatic_renewals.pl) Confirm that the issue has been renewed 4/ Modify the no_auto_renewal_after_hard_limit and set it to yesterday 5/ Execute the automatic renewals cronjob script (misc/cronjobs/automatic_renewals.pl) Confirm that the issue has not been renewed -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://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/
[Koha-bugs] [Bug 16344] Add a circ rule to limit the auto renewals given a specific date
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16344 --- Comment #2 from Jonathan Druart--- Created attachment 50677 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=50677=edit Bug 16344: [DO NOT PUSH] Schema changes -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://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/
[Koha-bugs] [Bug 16344] Add a circ rule to limit the auto renewals given a specific date
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16344 Jonathan Druartchanged: What|Removed |Added Status|ASSIGNED|Needs Signoff -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://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/
[Koha-bugs] [Bug 16344] Add a circ rule to limit the auto renewals given a specific date
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16344 Jonathan Druartchanged: What|Removed |Added Assignee|koha-b...@lists.koha-commun |jonathan.dru...@bugs.koha-c |ity.org |ommunity.org Status|NEW |ASSIGNED Depends on||15581 Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15581 [Bug 15581] Add a circ rule to limit the auto renewals given a delay -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://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/