[koha-commits] main Koha release repository branch 3.22.x updated. v3.22.06-8-gb53075b

Git repo owner gitmaster at git.koha-community.org
Mon May 9 10:25:48 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, 3.22.x has been updated
       via  b53075b58df01e65371e13dee0b6848d12a181f2 (commit)
       via  ea45e3f39ebdd2a33b7ea00730ef278ba0f461a7 (commit)
      from  6ca552c2e86a4459ba8a68903b7ac60c614731af (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 b53075b58df01e65371e13dee0b6848d12a181f2
Author: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Date:   Tue May 3 08:58:33 2016 +0100

    Bug 16426: follow-up of bug 15840 - correctly manage userid while inserting patrons
    
    Bug 15840 tried to fix a bug but makes things more complicated than it
    was before.
    If an userid is not provided for 1 or more rows of the csv file, it
    should not be updated. However, if a userid is provided and it already
    used by an other patron, the import should fail for this row (but not
    crash!).
    
    Test plan:
    0/ Create a patron with a userid=your_userid
    1/ Use the import patron tool to update this userid
    => userid should have been updated
    2/ Update another data and do not provide the userid
    => data should have been updated and not the userid
    3/ Update another data and provide the userid, but set it to an empty
    string, or '0'
    => data should have been updated and not the userid
    4/ Update another patron, and set userid=your_userid
    => Update should fail and an error whouls be displayed ("already used by
    another patron")
    
    Signed-off-by: Nick Clemens <nick at bywatersolutions.com>
    
    Signed-off-by: Katrin Fischer <katrin.fischer.83 at web.de>
    
    Signed-off-by: Brendan Gallagher <brendan at bywatersolutions.com>
    (cherry picked from commit 7b76b24fad305b0253eb1d779f074d265087ca73)
    Signed-off-by: Julian Maurice <julian.maurice at biblibre.com>

commit ea45e3f39ebdd2a33b7ea00730ef278ba0f461a7
Author: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Date:   Tue May 3 08:58:26 2016 +0100

    Bug 16426: Add tests for ModMember - do not update userid
    
    Signed-off-by: Nick Clemens <nick at bywatersolutions.com>
    
    Signed-off-by: Katrin Fischer <katrin.fischer.83 at web.de>
    
    Signed-off-by: Brendan Gallagher <brendan at bywatersolutions.com>
    (cherry picked from commit e883c19f3778c0247c11e6bdd3f27bbdd927468d)
    Signed-off-by: Julian Maurice <julian.maurice at biblibre.com>

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

Summary of changes:
 C4/Members.pm                                        |    3 +++
 .../prog/en/modules/tools/import_borrowers.tt        |    2 +-
 t/db_dependent/Members.t                             |   15 ++++++++++++++-
 tools/import_borrowers.pl                            |   18 ++++++++++--------
 4 files changed, 28 insertions(+), 10 deletions(-)


hooks/post-receive
-- 
main Koha release repository


More information about the koha-commits mailing list