Bugzilla – Attachment 26149 Details for
Bug 11493
Batch Item Modification not handling unicode characters
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[PASSED QA] Bug 11493: Revert "Bug 6869 Batch item modification fails whit accented characters"
PASSED-QA-Bug-11493-Revert-Bug-6869-Batch-item-mod.patch (text/plain), 1.55 KB, created by
Katrin Fischer
on 2014-03-12 09:55:47 UTC
(
hide
)
Description:
[PASSED QA] Bug 11493: Revert "Bug 6869 Batch item modification fails whit accented characters"
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2014-03-12 09:55:47 UTC
Size:
1.55 KB
patch
obsolete
>From 4821aca1afda47afcd68d8704ffde1e833b2d5b4 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@biblibre.com> >Date: Wed, 5 Mar 2014 13:44:49 +0100 >Subject: [PATCH] [PASSED QA] Bug 11493: Revert "Bug 6869 Batch item > modification fails whit accented characters" >MIME-Version: 1.0 >Content-Type: text/plain; charset=UTF-8 >Content-Transfer-Encoding: 8bit > >This reverts commit c9905750e53e2e1615842ac696d5eeb0a8ac07fc. > >Test plan: >1/ Open a bib record with more than 1 item , >2/ Select all items >3/ Chose Modify selected items >4/ put you "Ù Ù Ù" in notes >5/ Verify the items have been updated correctly >6/ put you "éà ç" in notes >7/ Verify the items have been updated correctly >8/ put you "٠٠٠éà ç" in notes >9/ Verify the items have been updated correctly > >Patch behaves as expected. >Signed-off-by: Marc Véron <veron@veron.ch> > >Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de> >Confirmed bug on master and that the patch fixes it. >Passes all tests and the QA script. >--- > tools/batchMod.pl | 1 - > 1 file changed, 1 deletion(-) > >diff --git a/tools/batchMod.pl b/tools/batchMod.pl >index a88cc30..41d15cb 100755 >--- a/tools/batchMod.pl >+++ b/tools/batchMod.pl >@@ -141,7 +141,6 @@ if ($op eq "action") { > my ( $itemtagfield, $itemtagsubfield) = &GetMarcFromKohaField("items.itemnumber", ""); > if ($values_to_modify){ > my $xml = TransformHtmlToXml(\@tags,\@subfields,\@values,\@indicator,\@ind_tag, 'ITEM'); >- utf8::encode($xml); > $marcitem = MARC::Record::new_from_xml($xml, 'UTF-8'); > } > if ($values_to_blank){ >-- >1.8.3.2
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 11493
:
25838
|
25898
| 26149