[koha-commits] main Koha release repository branch master updated. v16.05.00-151-gf1fa65f

Git repo owner gitmaster at git.koha-community.org
Fri Jun 24 13:43:59 CEST 2016


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  f1fa65f6375b73b8e2aff3139885971f08bb27a3 (commit)
       via  fe02c9fdf0550caf0b9a7e0f4b1138260c94abc9 (commit)
       via  1a9674fd3a8d8c898d8dc208d6e3d0296daeca40 (commit)
       via  a879efb574028be78f0706f36bd5e1e11d54dfc2 (commit)
       via  9427d44568e6d52fde3960bda3ad957ca6a5b7fe (commit)
       via  2c88538946e05feb65aa5b0f9007882a0ce6ac73 (commit)
      from  87dbed0abd67e88ae85f633d9f4c63c38a2f7e24 (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 f1fa65f6375b73b8e2aff3139885971f08bb27a3
Author: Kyle M Hall <kyle at bywatersolutions.com>
Date:   Fri Jun 17 16:29:33 2016 +0000

    Bug 16534: (followup) - Tidy AddIssue
    
    Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>

commit fe02c9fdf0550caf0b9a7e0f4b1138260c94abc9
Author: Marc Véron <veron at veron.ch>
Date:   Mon May 23 07:48:10 2016 +0200

    Bug 16534: (followup) Correct tiny typo
    
    This patch corrects "...must be return..." to "must be returned..."
    
    Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>

commit 1a9674fd3a8d8c898d8dc208d6e3d0296daeca40
Author: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Date:   Sun May 22 10:01:56 2016 +0100

    Bug 16534: Block AddIssue from issuing if the return is not possible
    
    To make sure the return can be done, AddIssue must not trust callers (they
    should have done their job, but we are not sure) and check that the issue can
    be returned before issuing to the patron.
    
    There is no test plan here, this should not be possible from the Koha
    interface.
    However, looking at the code, it may be possible using SIP.
    
    Signed-off-by: Marc Véron <veron at veron.ch>
    
    Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>

commit a879efb574028be78f0706f36bd5e1e11d54dfc2
Author: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Date:   Sun May 22 10:03:11 2016 +0100

    Bug 16534: Add tests for AddIssue
    
    Signed-off-by: Marc Véron <veron at veron.ch>
    
    Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>

commit 9427d44568e6d52fde3960bda3ad957ca6a5b7fe
Author: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Date:   Sun May 22 10:01:48 2016 +0100

    Bug 16534: Make CanBookBeIssued test if the issue can be returned
    
    If an issue is already checked out, CanBookBeIssued must check if the
    issue can be checked in before processing the return.
    In such cases (depending of the AllowReturnToBranch pref), the issue
    should not be allowed.
    
    Prior to this patch, the checkin was not done and the checkout failed
    with "Duplicate entry '1204321' for key 'itemnumber'". Indeed since bug
    14978, there is an uniq key on issues.itemnumber. Before bug 14978 the
    issue existed but was hidden (and some weird behaviors certainly
    happened!).
    
    To avoid Koha to crash, a check is added to CanBookBeIssued (call to
    CanBookBeReturned) and the librarian is not able to process the
    checkout.
    
    Test plan:
    
    - Set AllowReturnToBranch to anywhere
    - Check an item (homebranch Library 1, holding branch Library 1) out from Library 1
    - Check the item out from Library 2
    => Confirm the checkout (should work with and without this patch)
    
    - Set AllowReturnToBranch to holdinbranch ("only the library the item
      was checked out from").
    - Check an item (homebranch Library 1, holding branch Library 1) out from Library 1
    - Check the item out from Library 2
    => Without this patch, Koha crashed
    => With this patch, you will be warned that the checkin is not possible.
    
    Try other combinations of the AllowReturnToBranch syspref
    
    Followed test plan, works as expected
    Signed-off-by: Marc Véron <veron at veron.ch>
    
    Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>

commit 2c88538946e05feb65aa5b0f9007882a0ce6ac73
Author: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Date:   Sun May 22 10:02:44 2016 +0100

    Bug 16534: Add tests for CanBookBeIssued & AllowReturnToBranch
    
    Signed-off-by: Marc Véron <veron at veron.ch>
    
    Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>

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

Summary of changes:
 C4/Circulation.pm                                  |  291 +++++++++++---------
 .../prog/en/modules/circ/circulation.tt            |    4 +
 t/db_dependent/Circulation.t                       |  171 +++++++++++-
 3 files changed, 330 insertions(+), 136 deletions(-)


hooks/post-receive
-- 
main Koha release repository


More information about the koha-commits mailing list