[koha-commits] main Koha release repository branch master updated. v16.11.00-977-ga807d71
Git repo owner
gitmaster at git.koha-community.org
Mon May 8 14:38:09 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, master has been updated
via a807d7199ea025aa507e0ca7e3ff2330902844f8 (commit)
via bf551a07222a7b9beffd7ca6cba38c675aa3ab28 (commit)
from 9bf8142ee77dbacceca0cb17ed5f56ec07b3771c (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 a807d7199ea025aa507e0ca7e3ff2330902844f8
Author: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Date: Wed May 3 15:30:14 2017 -0300
Bug 18152: Add tests
Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>
commit bf551a07222a7b9beffd7ca6cba38c675aa3ab28
Author: Stephane Delaune <stephane.delaune at biblibre.com>
Date: Wed Feb 22 12:25:33 2017 +0100
Bug 18152 : fix unimarc label in SetMarcUnicodeFlag
The standard UNIMARC requires than the 9th character (starting from 0) in
labels must be blank (while it may be 'a' in marc21)
the problem is that C4::Charset::SetMarcUnicodeFlag (called in particular when
we import a record) always add 'a' char in the 9th label'pos whereas it should
do it just for MARC21 and NORMARC (not for UNIMARC) :
C4::Charset::SetMarcUnicodeFlag add 'a' char in the 9th label character for
MARC21 and NORMARC (it's normal), but just before doing this it call
"$marc_record->encoding('UTF-8')" which is a MARC::Record function which, when
called with 'UTF-8' parameter, do only one thing : add 'a' char in the 9th
label character
This patch only removes this incorrect function call, so, when we import a bib
record in UNIMARC : it no longer adds erroneous character (this does not change
anything for MARC21 and NORMARC because SetMarcUnicodeFlag explicitly adds 'a'
char in the 9th label for them)
Signed-off-by: Alex Buckley <alexbuckley at catalyst.net.nz>
Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>
-----------------------------------------------------------------------
Summary of changes:
C4/Charset.pm | 1 -
t/Charset.t | 27 ++++++++++++++++++++++++++-
2 files changed, 26 insertions(+), 2 deletions(-)
hooks/post-receive
--
main Koha release repository
More information about the koha-commits
mailing list