[koha-commits] main Koha release repository branch 3.22.x updated. v3.22.02-18-g7132c9b
Git repo owner
gitmaster at git.koha-community.org
Fri Jan 29 11:33:32 CET 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 7132c9b49ca0c2abf7592d56e4b467be9107dd3f (commit)
via bc287802a996b265d008845867f1691eeca576d9 (commit)
via 958985b2ff7304cc55a620e0cd1f09d31d213463 (commit)
from b94fc3419dc04d06d7557753cea619633ab4c8dd (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 7132c9b49ca0c2abf7592d56e4b467be9107dd3f
Author: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Date: Mon Dec 28 15:47:01 2015 +0000
Bug 15209: Check the parameter at the beginning of the subroutines
It seems better to check if parameters exist at the beginning of a
subroutine.
It makes the code easier to read and there is 1 indentation level less.
Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>
Signed-off-by: Brendan A Gallagher <brendan at bywatersolutions.com>
(cherry picked from commit 372881ebfd5552ecb83450c7afea6a76f2df1a0b)
Signed-off-by: Julian Maurice <julian.maurice at biblibre.com>
commit bc287802a996b265d008845867f1691eeca576d9
Author: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Date: Mon Dec 28 15:46:59 2015 +0000
Bug 15209: Add tests
Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>
Signed-off-by: Brendan A Gallagher <brendan at bywatersolutions.com>
(cherry picked from commit c273e888b0468c6d8e943f9989f6680dc63203fa)
Signed-off-by: Julian Maurice <julian.maurice at biblibre.com>
commit 958985b2ff7304cc55a620e0cd1f09d31d213463
Author: Colin Campbell <colin.campbell at ptfs-europe.com>
Date: Wed Nov 18 14:53:58 2015 +0000
Bug 15209 Validate passed MARC::Record objs in C4::Koha
Ensure that a passed MARC::Record is defined before calling
its methods. Otherwise you are open to occurences of the
error 'Can't call method "field" on an undefined value'
In a CGI environment you can live with such sloppiness but
in a persistent environment the error can cause the instance
to abort.
Made all routines passed a MARC::Record validate it before calling
its methods. Changed the parameter name from the meaningless
record to marcrecord to indicate its content. Added an explicit return
for all cases where no valid data returned. Cleaned up some logic for
clarity. I think we can assume that GetNormalizedOCLCNumber meant to
look at all 035s till it found an OCLC number not just the first.
Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>
Signed-off-by: Brendan A Gallagher <brendan at bywatersolutions.com>
(cherry picked from commit 960458dee4a9c09506f48fa73950c0e2da3611e7)
Signed-off-by: Julian Maurice <julian.maurice at biblibre.com>
-----------------------------------------------------------------------
Summary of changes:
C4/Koha.pm | 64 ++++++++++++++++++++++++++++--------------------------------
t/Koha.t | 7 ++++++-
2 files changed, 36 insertions(+), 35 deletions(-)
hooks/post-receive
--
main Koha release repository
More information about the koha-commits
mailing list