[koha-commits] main Koha release repository branch 17.05.x updated. v17.05.04-117-gc4112a7
Git repo owner
gitmaster at git.koha-community.org
Tue Oct 17 09:12:46 CEST 2017
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, 17.05.x has been updated
via c4112a744f38f2ae78db1828c20d98d512d6efb9 (commit)
via aaf0d3dc474def89ffbb69548ebaf830109143b0 (commit)
from c94e6606525ce9da003a99800ba46fe6e1967d47 (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 c4112a744f38f2ae78db1828c20d98d512d6efb9
Author: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Date: Mon Oct 9 15:57:46 2017 -0300
Bug 19440: Existing calls need to be done in scalar context
Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
(cherry picked from commit fed86d50420dcb3fb468c5743a1e370d075bc5e0)
Signed-off-by: Fridolin Somers <fridolin.somers at biblibre.com>
commit aaf0d3dc474def89ffbb69548ebaf830109143b0
Author: Tomas Cohen Arazi <tomascohen at theke.io>
Date: Mon Oct 9 15:36:41 2017 -0300
Bug 19440: Identify overlimit problems in XISBN tests
This patch makes C4::XISBN::get_xisbns() return an errors hashref
including information of the failing fetches from xisbn services.
It tackles the situation of XISBN, which in some cases returns 'overlimit'
errors.
The patch makes the relevant functions check if the response->{stat} string
is 'ok' and returns the string in $errors otherwise.
This only happens when in list context. This allows to fix the randomly failing
tests while keeping the current behaviour.
All this code should be rewritten. It does the job bug doesn't have problems handling
or reoprting. This is just a band aid.
To test:
- Make sure
k$ prove t/db_dependent/XISBN.t
=> SUCCESS :-D
Signed-off-by: Tomas Cohen Arazi <tomascohen at theke.io>
Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
(cherry picked from commit e90874241808354777cc1c27ad3ad106ffdc7cd4)
Signed-off-by: Fridolin Somers <fridolin.somers at biblibre.com>
-----------------------------------------------------------------------
Summary of changes:
C4/XISBN.pm | 11 +++++++++--
catalogue/detail.pl | 2 +-
opac/opac-detail.pl | 2 +-
t/db_dependent/XISBN.t | 8 ++++----
4 files changed, 15 insertions(+), 8 deletions(-)
hooks/post-receive
--
main Koha release repository
More information about the koha-commits
mailing list