]> git.koha-community.org Git - koha.git/commit
Bug 11218: fix Item Due notices not being generated
authorKatrin Fischer <Katrin.Fischer.83@web.de>
Thu, 7 Nov 2013 23:31:09 +0000 (00:31 +0100)
committerTomas Cohen Arazi <tomascohen@gmail.com>
Mon, 18 Nov 2013 17:22:02 +0000 (14:22 -0300)
commit76901e1bfec59a02b1d1dce0550521af107e9bc8
treef5e8cb39f48de8668ed99bec0138fa322f6784e8
parent361bc49390e63b451396584236ff7859d511613d
Bug 11218: fix Item Due notices not being generated

To test:
- Check out at least 3 items, due dates should be today, sometime in
  the past and one day after tomorrow.
- Edit the message options - activate DUE and PREDUE notices with
  days in advance = 2
- Run the advance_notices.pl script with -v -c
  Result: Only a PREDUE notice is generated
- Run the advance_notices.pl script with -v -c -m 2
  Result: Only the PREDUE message is generated correctly.
- Run t/db_dependent/Circulation.t
  - without first patch: all tests pass.
  - with first patch: some tests will fail.
- Apply patch.
- Rerun script, now PREDUE and DUE notices should be
  generated.
- Run t/db_dependent/Circulation.t again, all tests should pass.

Add more items with different due dates, rerun and check results.

Run t/Circulation.t to confirm all tests pass.
- Apply the patch

Signed-off-by: Liz Rea <liz@catalyst.net.nz>
Passes functional tests and automated tests.

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
(cherry picked from commit a8bc7c9ef8222d0c9292ff5a93f3ecb8d68a2eed)
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
C4/Circulation.pm