[Koha-bugs] [Bug 15260] Option for extended loan with useDaysMode

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Apr 16 14:11:43 CEST 2019


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15260

Andrew Isherwood <andrew.isherwood at ptfs-europe.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |Needs Signoff

--- Comment #10 from Andrew Isherwood <andrew.isherwood at ptfs-europe.com> ---
Test plan:

Set up
------

- Apply patches
- Set the useDaysMode syspref to "Calculate the due date using the calendar to
push the due date to the next open matching weekday for weekly loan periods, or
the next open day otherwise"
- In order to test this functionality, you will need items with weekly (or
multiples of) loan period (e.g. 7, 14, 21 days etc)

Test 1 - One week roll forward
------------------------------

Here we test that loans and renewals roll forward one week if the expected due
date is closed.

- Identify the loan and renewal periods of the item you intend testing and add
a temporary closure day to the calendar on the due date for issues and renewals
- Issue the item
=> TEST: Observe the item's due date rolled forward to one week later than the
expected issue due date
- Renew the item
=> TEST: Observe the item's due date rolled forward to one week later than the
expected renewal due date

Test 2 - Multiple week roll forward
-----------------------------------

Here we test that loans and renewals continue to roll forward if there are
subsequent closures on the day of the week of the due date

- Identify the loan and renewal periods of the item you intend testing and add
a closure temporary day to the calendar on the due date for issues and
renewals, and also to the two subsequent weeks on the same day
- Issue the item
=> TEST: Observe the item's due date rolled forward to one week later than the
lastclosure day for that day of the week
- Renew the item
=> TEST: Observe the item's due date rolled forward to one week later than the
lastclosure day for that day of the week

Test 3 - Permanent closures
---------------------------

Here we test that the functionality doesn't try to continue looking for an open
day on the same day of the week as the expected due date if the library has a
permanent closure on that day of the week, instead it rolls forward a single
day

- Identify the loan and renewal periods of the item you intend testing and add
a recurring holiday on the day of the week of the expected due date
- Issue the item
=> TEST: Observe that the item's due date only rolled forward a single day from
the original due date as it was unable to roll forward a week or multiple weeks
- Add a recurring holiday on the day of the week of the item's new due date
- Renew the item
=> TEST:  Observe that the item's due date only rolled forward a single day
from the original renewal due date as it was unable to roll forward a week or
multiple weeks

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list