[Koha-bugs] [Bug 11797] auth_finder.pl: Odd number of elements in anonymous hash
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Thu Mar 6 07:54:16 CET 2014
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11797
M. Tompsett <mtompset at hotmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #25478|0 |1
is obsolete| |
--- Comment #2 from M. Tompsett <mtompset at hotmail.com> ---
Created attachment 25882
-->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=25882&action=edit
Bug 11797 - Odd number of elements in hash
This was discovered when someone triggered an authority search
on an authority record that was missing what is assumed the
default subfield for a given field.
It, however, also can be triggered in an OPAC authority search
by looking at the record that lacks the default subfield for a
given field.
TEST PLAN
---------
1) Create an authority record with 180$x and NOT 180$v.
See C4::AuthoritiesMarc::BuildSummary in the 1.. foreach loop
for known tags and default values. The default subfields are
the first letter of the $subfields_to_report string.
2) Trigger the bug:
Method 1: /cgi-bin/koha/opac-authoritiesdetail.pl?authid=#
Where # is the authority id of your tweaked record.
The error occurs in Normal view.
Method 2: Home -> Cataloging -> + New record
-> Click the 'Tag Editor' on 100$a
...
3) Notice there is an error log entry.
4) Apply the patch
5) Attempt to trigger the bug again
6) Error log entry is not generated.
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list