[Koha-bugs] [Bug 9070] Searching for authority from tag editor for field 650 gives error

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Nov 13 17:58:11 CET 2012


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9070

Magnus Enger <magnus at enger.priv.no> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #13440|0                           |1
        is obsolete|                            |

--- Comment #4 from Magnus Enger <magnus at enger.priv.no> ---
Created attachment 13441
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=13441&action=edit
Bug 9070: [SIGNED-OFF] authority searches in auth_finder error out

When using authority records imported into Koha from elsewhere, you
can get an error like:
    Can't use string ("HASH(0xbc6c{30)") as a HASH ref while "strict refs" in
use at /usr/share/koha/lib/C4/AuthoritiesMarc.pm line 363.
in authorities/auth_finder.pl. This patch fixes that error.

To test:
1) You will need records imported from elsewhere.
2) Use the authority control plugin in a bib record to search for one of
   those headings.
3) Observe you get a nasty error.
4) Apply patch.
5) Repeat step 2.
6) Observe the error is gone.
7) Sign off.

Signed-off-by: Magnus Enger <magnus at enger.priv.no>
Works as advertised. No warning about "defined(%hash) is deprecated"
under perl v5.10.1.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list