[koha-commits] main Koha release repository branch master updated. v3.22.00-beta-73-g4fb4e16

Git repo owner gitmaster at git.koha-community.org
Fri Nov 20 14:15:08 CET 2015


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "main Koha release repository".

The branch, master has been updated
       via  4fb4e16d8cd65e1d7e75afe65147a5f2a6a20ebb (commit)
       via  a68d565622abefe7acb4aca617d1ca064bc2fd62 (commit)
      from  379329861d19b178f14d360d9fee2518a462d8a7 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 4fb4e16d8cd65e1d7e75afe65147a5f2a6a20ebb
Author: Holger Meißner <h.meissner.82 at web.de>
Date:   Tue Sep 22 14:03:33 2015 +0200

    Bug 14101: Unit tests
    
    This patch adds new test cases to check if CanBookBeRenewed provides
    correct return values and error codes for premature renewals. Both manual
    and automatic renewals and different settings for 'No renewal before'
    are tested.
    
    To test:
    1) prove t/db_dependent/Circulation.t
    
    Sponsored-by: Hochschule für Gesundheit (hsg), Germany
    
    Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>
    Signed-off-by: Tomas Cohen Arazi <tomascohen at theke.io>

commit a68d565622abefe7acb4aca617d1ca064bc2fd62
Author: Holger Meißner <h.meissner.82 at web.de>
Date:   Tue Jun 2 15:39:21 2015 +0200

    Bug 14101: Automatic renewals exactly on due date
    
    If no value for 'no renewal before' is specified, automatic renewal now
    falls back on the due date. Also 'no renewal before' can now be zero, so
    both automatic and manual renewals can be delayed until due date.
    
    Test plan:
    
    1) Create some circulation rules with different settings for 'No renewal
       before' and 'Automatic renewal'. Both daily and hourly loans should
       work.
    
    2) Try to renew both manually and automatically before and after a renewal
       should be possible. You can run misc/cronjobs/automatic_renewals.pl for
       automatic renewal.
    
    3) Confirm that:
       * Both automatic and manual renewal with 'No renewal before' set
         to 0 do not happen before the due date (exact DateTime).
       * Manual renewal with 'No renewal before' set to undef (enter empty
         string) is unrestricted.
       * Automatic renewal with 'No renewal before' set to undef does not
         happen before the due date.
    
    Sponsored-by: Hochschule für Gesundheit (hsg), Germany
    
    Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>
    Signed-off-by: Tomas Cohen Arazi <tomascohen at theke.io>

-----------------------------------------------------------------------

Summary of changes:
 C4/Circulation.pm            |   26 +++++++++++++++++++++-----
 admin/smart-rules.pl         |    2 +-
 t/db_dependent/Circulation.t |   42 +++++++++++++++++++++++++++++++-----------
 3 files changed, 53 insertions(+), 17 deletions(-)


hooks/post-receive
-- 
main Koha release repository


More information about the koha-commits mailing list