[koha-commits] main Koha release repository branch master updated. v3.22.00-1550-g7b76b24
Git repo owner
gitmaster at git.koha-community.org
Fri May 6 05:31:56 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 7b76b24fad305b0253eb1d779f074d265087ca73 (commit)
via e883c19f3778c0247c11e6bdd3f27bbdd927468d (commit)
from c4eabeda0b1ca6b856483b3d225b9093dc6e316a (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 7b76b24fad305b0253eb1d779f074d265087ca73
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>
commit e883c19f3778c0247c11e6bdd3f27bbdd927468d
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>
-----------------------------------------------------------------------
Summary of changes:
C4/Members.pm | 2 ++
.../prog/en/modules/tools/import_borrowers.tt | 2 +-
t/db_dependent/Members.t | 15 ++++++++++++++-
tools/import_borrowers.pl | 18 ++++++++++--------
4 files changed, 27 insertions(+), 10 deletions(-)
hooks/post-receive
--
main Koha release repository
More information about the koha-commits
mailing list