Bugzilla – Attachment 25478 Details for
Bug 11797
auth_finder.pl: Odd number of elements in anonymous hash
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 11797 - auth_finder.pl: Odd number of elements in anonymous hash
Bug-11797---authfinderpl-Odd-number-of-elements-in.patch (text/plain), 1.44 KB, created by
Mark Tompsett
on 2014-02-20 04:45:46 UTC
(
hide
)
Description:
Bug 11797 - auth_finder.pl: Odd number of elements in anonymous hash
Filename:
MIME Type:
Creator:
Mark Tompsett
Created:
2014-02-20 04:45:46 UTC
Size:
1.44 KB
patch
obsolete
>From e23c461311f83cfd358ec4b7ad5c53b7be26c817 Mon Sep 17 00:00:00 2001 >From: Mark Tompsett <mtompset@hotmail.com> >Date: Wed, 19 Feb 2014 23:41:05 -0500 >Subject: [PATCH] Bug 11797 - auth_finder.pl: Odd number of elements in > anonymous hash > >Added missing 162 MARC authorities tag and missing else case. >If the records are not in a given order the first substring of >the previous tag could be not 'a', but only 'a' exists for 162, >so the hash would have "hemain => " which triggers the error. >That's my theory anyways. >--- > C4/AuthoritiesMarc.pm | 4 ++++ > 1 file changed, 4 insertions(+) > >diff --git a/C4/AuthoritiesMarc.pm b/C4/AuthoritiesMarc.pm >index 1c87285..677f187 100644 >--- a/C4/AuthoritiesMarc.pm >+++ b/C4/AuthoritiesMarc.pm >@@ -1024,6 +1024,8 @@ sub BuildSummary { > $subfields_to_report = 'avxyz'; > } elsif ($tag eq '155') { > $subfields_to_report = 'abvxyz'; >+ } elsif ($tag eq '162') { >+ $subfields_to_report = 'a'; > } elsif ($tag eq '180') { > $subfields_to_report = 'vxyz'; > } elsif ($tag eq '181') { >@@ -1032,6 +1034,8 @@ sub BuildSummary { > $subfields_to_report = 'vxyz'; > } elsif ($tag eq '185') { > $subfields_to_report = 'vxyz'; >+ } else { >+ $subfields_to_report = ''; > } > if ($subfields_to_report) { > push @authorized, { >-- >1.7.9.5
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 11797
:
25478
|
25882
|
25884
|
27077
|
27120
|
27133
|
27134