[Koha-bugs] [Bug 19204] Fines in days restriction calculation is not taking calendar into account
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19204 Martin Renvoize changed: What|Removed |Added Status|Pushed to Stable|RESOLVED Resolution|--- |FIXED -- 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 19204] Fines in days restriction calculation is not taking calendar into account
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19204 Martin Renvoize changed: What|Removed |Added CC||martin.renvoize@ptfs-europe ||.com Status|Pushed to Master|Pushed to Stable -- 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 19204] Fines in days restriction calculation is not taking calendar into account
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19204 Jonathan Druartchanged: What|Removed |Added Status|Passed QA |Pushed to Master --- Comment #25 from Jonathan Druart --- Pushed to master for 18.05, thanks to everybody involved! -- 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 19204] Fines in days restriction calculation is not taking calendar into account
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19204 --- Comment #24 from Katrin Fischer--- Without typo: Goethe-Institut -- 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 19204] Fines in days restriction calculation is not taking calendar into account
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19204 --- Comment #23 from Katrin Fischer--- Hi Jonathan, can you please add a Sponsored-by line before pushing? This was sponsored by the Goethe-Intsitut. -- 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 19204] Fines in days restriction calculation is not taking calendar into account
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19204 Tomás Cohen Arazichanged: 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 19204] Fines in days restriction calculation is not taking calendar into account
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19204 Tomás Cohen Arazichanged: What|Removed |Added Attachment #74780|0 |1 is obsolete|| --- Comment #22 from Tomás Cohen Arazi --- Created attachment 74801 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=74801=edit Bug 19204: Add tests for new days_mode parameter Signed-off-by: Claire Gravely Signed-off-by: Katrin Fischer Signed-off-by: Tomas Cohen Arazi -- 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 19204] Fines in days restriction calculation is not taking calendar into account
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19204 Tomás Cohen Arazichanged: What|Removed |Added Attachment #74779|0 |1 is obsolete|| --- Comment #21 from Tomás Cohen Arazi --- Created attachment 74800 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=74800=edit Bug 19204: Add a test: holiday is expiration date Signed-off-by: Claire Gravely Signed-off-by: Katrin Fischer Signed-off-by: Tomas Cohen Arazi -- 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 19204] Fines in days restriction calculation is not taking calendar into account
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19204 Tomás Cohen Arazichanged: What|Removed |Added Attachment #74777|0 |1 is obsolete|| --- Comment #19 from Tomás Cohen Arazi --- Created attachment 74798 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=74798=edit Bug 19204: Make the debarment date calculation depends on finesCalendar This patchs adds the ability to calculate the end of the suspension date (debarment date) using the finesCalendar syspref. Prior to this patch it was never calculating without taking into account the calendar. calculated without taking holidays into account. This was a problem because the restriction could end in the middle of a period the library is closed. Test plan: - Set finescalendar to 'not including days the library is closed' - Set a circulation condition with no fine/maxfine, but fine days and max fine days instead - Check out an item with a due date in the past - Check the item in and verify the restriction date - Clean the restriction - Add holidays to your calendar on the calculated restriction date - Check the item out again with the same due date in the past - Check in the item again - Verify the calculated restriction end date has changed, it's set to the day after the holiday. Fines in days restriction calculation is correctly taking calendar into account. Signed-off-by: Claire Gravely Signed-off-by: Katrin Fischer Signed-off-by: Tomas Cohen Arazi -- 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 19204] Fines in days restriction calculation is not taking calendar into account
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19204 Tomás Cohen Arazichanged: What|Removed |Added Attachment #74778|0 |1 is obsolete|| --- Comment #20 from Tomás Cohen Arazi --- Created attachment 74799 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=74799=edit Bug 19204: Clean the tests a bit to reuse the same pattern The same pattern is used several times in test: checkout, checkin, get the debarment, compare the dates and remove the debarment. Let's move that to a separate subroutine Signed-off-by: Claire Gravely Signed-off-by: Katrin Fischer Signed-off-by: Tomas Cohen Arazi -- 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 19204] Fines in days restriction calculation is not taking calendar into account
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19204 Katrin Fischerchanged: What|Removed |Added Attachment #74736|0 |1 is obsolete|| --- Comment #17 from Katrin Fischer --- Created attachment 74780 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=74780=edit Bug 19204: Add tests for new days_mode parameter Signed-off-by: Claire Gravely Signed-off-by: Katrin Fischer -- 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 19204] Fines in days restriction calculation is not taking calendar into account
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19204 --- Comment #18 from Katrin Fischer--- Won't QA this (conflict of interest) - can someone else please take a look? -- 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 19204] Fines in days restriction calculation is not taking calendar into account
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19204 Katrin Fischerchanged: What|Removed |Added Attachment #74735|0 |1 is obsolete|| --- Comment #16 from Katrin Fischer --- Created attachment 74779 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=74779=edit Bug 19204: Add a test: holiday is expiration date Signed-off-by: Claire Gravely Signed-off-by: Katrin Fischer -- 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 19204] Fines in days restriction calculation is not taking calendar into account
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19204 Katrin Fischerchanged: What|Removed |Added Attachment #74734|0 |1 is obsolete|| --- Comment #15 from Katrin Fischer --- Created attachment 74778 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=74778=edit Bug 19204: Clean the tests a bit to reuse the same pattern The same pattern is used several times in test: checkout, checkin, get the debarment, compare the dates and remove the debarment. Let's move that to a separate subroutine Signed-off-by: Claire Gravely Signed-off-by: Katrin Fischer -- 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 19204] Fines in days restriction calculation is not taking calendar into account
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19204 Katrin Fischerchanged: What|Removed |Added Attachment #74733|0 |1 is obsolete|| --- Comment #14 from Katrin Fischer --- Created attachment 74777 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=74777=edit Bug 19204: Make the debarment date calculation depends on finesCalendar This patchs adds the ability to calculate the end of the suspension date (debarment date) using the finesCalendar syspref. Prior to this patch it was never calculating without taking into account the calendar. calculated without taking holidays into account. This was a problem because the restriction could end in the middle of a period the library is closed. Test plan: - Set finescalendar to 'not including days the library is closed' - Set a circulation condition with no fine/maxfine, but fine days and max fine days instead - Check out an item with a due date in the past - Check the item in and verify the restriction date - Clean the restriction - Add holidays to your calendar on the calculated restriction date - Check the item out again with the same due date in the past - Check in the item again - Verify the calculated restriction end date has changed, it's set to the day after the holiday. Fines in days restriction calculation is correctly taking calendar into account. Signed-off-by: Claire Gravely Signed-off-by: Katrin Fischer -- 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 19204] Fines in days restriction calculation is not taking calendar into account
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19204 --- Comment #11 from Claire Gravely--- Created attachment 74734 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=74734=edit Bug 19204: Clean the tests a bit to reuse the same pattern The same pattern is used several times in test: checkout, checkin, get the debarment, compare the dates and remove the debarment. Let's move that to a separate subroutine Signed-off-by: Claire Gravely -- 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 19204] Fines in days restriction calculation is not taking calendar into account
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19204 --- Comment #12 from Claire Gravely--- Created attachment 74735 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=74735=edit Bug 19204: Add a test: holiday is expiration date Signed-off-by: Claire Gravely -- 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 19204] Fines in days restriction calculation is not taking calendar into account
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19204 --- Comment #13 from Claire Gravely--- Created attachment 74736 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=74736=edit Bug 19204: Add tests for new days_mode parameter Signed-off-by: Claire Gravely -- 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 19204] Fines in days restriction calculation is not taking calendar into account
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19204 Claire Gravelychanged: What|Removed |Added Attachment #74726|0 |1 is obsolete|| Attachment #74727|0 |1 is obsolete|| Attachment #74728|0 |1 is obsolete|| Attachment #74730|0 |1 is obsolete|| --- Comment #10 from Claire Gravely --- Created attachment 74733 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=74733=edit Bug 19204: Make the debarment date calculation depends on finesCalendar This patchs adds the ability to calculate the end of the suspension date (debarment date) using the finesCalendar syspref. Prior to this patch it was never calculating without taking into account the calendar. calculated without taking holidays into account. This was a problem because the restriction could end in the middle of a period the library is closed. Test plan: - Set finescalendar to 'not including days the library is closed' - Set a circulation condition with no fine/maxfine, but fine days and max fine days instead - Check out an item with a due date in the past - Check the item in and verify the restriction date - Clean the restriction - Add holidays to your calendar on the calculated restriction date - Check the item out again with the same due date in the past - Check in the item again - Verify the calculated restriction end date has changed, it's set to the day after the holiday. Fines in days restriction calculation is correctly taking calendar into account. Signed-off-by: Claire Gravely -- 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 19204] Fines in days restriction calculation is not taking calendar into account
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19204 Claire Gravelychanged: What|Removed |Added Status|Needs Signoff |Signed 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 19204] Fines in days restriction calculation is not taking calendar into account
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19204 --- Comment #9 from Jonathan Druart--- Created attachment 74730 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=74730=edit Bug 19204: Add tests for new days_mode parameter -- 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 19204] Fines in days restriction calculation is not taking calendar into account
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19204 Katrin Fischerchanged: What|Removed |Added Summary|Fines in days restriction |Fines in days restriction |calculation is not taking |calculation is not taking |calender into account |calendar into account -- 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/