[koha-commits] main Koha release repository branch 3.14.x updated. v3.14.09-85-ga7d46e6
Git repo owner
gitmaster at git.koha-community.org
Thu Aug 7 09:36:33 CEST 2014
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.14.x has been updated
via a7d46e6ac9d0c1234c049dde9af8c73de58f2aba (commit)
via 50b2d2abb918e2aff134fc2eb37400cca71daddd (commit)
via e9154d0b0e39504cd5f01be400ab1aae58424c64 (commit)
from 942271cd9ca306ff7b25c75eea9f815b079a0947 (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 a7d46e6ac9d0c1234c049dde9af8c73de58f2aba
Author: Mark Tompsett <mtompset at hotmail.com>
Date: Tue Jan 21 00:41:00 2014 -0500
Bug 11587: get rid of warnings generated by IsSuperLibrarian with anonymous sessions
This corrects line 1250 of C4/Context.pm to be:
return ($userenv->{flags}//0) % 2;
And thus avoids an uninitialized value used in the modulus.
TEST PLAN
---------
1) Apply the first patch (to update t/Context.t)
2) prove -v t/Context.t
-- This should fail tests 7 and 8
3) Apply this patch (to fix C4/Context.pm)
4) prove -v t/Context.t
-- All tests should succeed
Signed-off-by: Chris Cormack <chris at bigballofwax.co.nz>
Signed-off-by: Jonathan Druart <jonathan.druart at biblibre.com>
Signed-off-by: Galen Charlton <gmc at esilibrary.com>
(cherry picked from commit bf3b1aac7b7bc422bea26bb2c045be69d93ef0bf)
Signed-off-by: Fridolin Somers <fridolin.somers at biblibre.com>
commit 50b2d2abb918e2aff134fc2eb37400cca71daddd
Author: Jonathan Druart <jonathan.druart at biblibre.com>
Date: Fri Jan 24 13:00:37 2014 +0100
Bug 11587 - Add UT for IsSuperLibrarian if flags == 0
Signed-off-by: Jonathan Druart <jonathan.druart at biblibre.com>
Signed-off-by: Galen Charlton <gmc at esilibrary.com>
(cherry picked from commit 850e7e58352fd1fcb2772308cbfc6375b6a45735)
Signed-off-by: Fridolin Somers <fridolin.somers at biblibre.com>
Conflicts:
t/Context.t
commit e9154d0b0e39504cd5f01be400ab1aae58424c64
Author: Mark Tompsett <mtompset at hotmail.com>
Date: Tue Jan 21 00:34:43 2014 -0500
Bug 11587 - IsSuperLibrarian generates warnings (UT)
Simply viewing OPAC detail triggers a modulus warning entry.
This first patch adds two test cases to t/Context.t to test for
this situation.
TEST PLAN
---------
1) Apply this patch (to upgrade t/Context.t)
2) prove -v t/Context.t
-- Tests 7 and 8 will fail
3) Apply main patch (to amend C4/Context.pm)
4) prove -v t/Context.t
-- All tests will succeed
Signed-off-by: Chris Cormack <chris at bigballofwax.co.nz>
Signed-off-by: Jonathan Druart <jonathan.druart at biblibre.com>
Signed-off-by: Galen Charlton <gmc at esilibrary.com>
(cherry picked from commit 8ee0bc049a183e795fc37608a4b3790d4aef2267)
Signed-off-by: Fridolin Somers <fridolin.somers at biblibre.com>
Conflicts:
t/Context.t
-----------------------------------------------------------------------
Summary of changes:
C4/Context.pm | 2 +-
t/Context.t | 12 +++++++++++-
2 files changed, 12 insertions(+), 2 deletions(-)
hooks/post-receive
--
main Koha release repository
More information about the koha-commits
mailing list