[koha-commits] main Koha release repository branch master updated. v3.14.00-104-g2e0e154
Git repo owner
gitmaster at git.koha-community.org
Tue Dec 10 05:46:38 CET 2013
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 2e0e15485ecae556b77037443af1077291fe3673 (commit)
from 62fcbea10a0e7b3fbca74531ec5051704ab63f7c (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 2e0e15485ecae556b77037443af1077291fe3673
Author: Colin Campbell <colin.campbell at ptfs-europe.com>
Date: Thu Oct 10 18:06:14 2013 +0100
Bug 11032: Check a valid MARC::Record passed to Biblio
Intermittently problems in the calling environment
cause a C4::Biblio routine to be called with an undefined
MARC::Record object. This results in the process
dying and returning to the end user a low level
message such as 'cannot call method x on an undefined
object'.
For exported subroutines taking a MARC::Record object,
check that object is defined otherwise return a logical
return value and log a stack trace to the error log.
A couple of cases were checking but dying, this may have
unwelcome results in a persistent environment so croak has
been downgraded to carp
Signed-off-by: Katrin Fischer <Katrin.Fischer.83 at web.de>
Adds lots of checks for $record in various places, should
not affect behaviour.
Passed all tests and QA script, including new unit tests.
Tested adding and saving a new record.
Also tested detail and result pages without XSLT.
Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>
Signed-off-by: Galen Charlton <gmc at esilibrary.com>
-----------------------------------------------------------------------
Summary of changes:
C4/Biblio.pm | 110 +++++++++++++++++++++++++++++++++++++++++++++++++++++++---
t/Biblio.t | 82 +++++++++++++++++++++++++++++++++++++++++++
2 files changed, 187 insertions(+), 5 deletions(-)
create mode 100755 t/Biblio.t
hooks/post-receive
--
main Koha release repository
More information about the koha-commits
mailing list