[Koha-bugs] [Bug 5615] New: ZOOM error 20003 "can't set prefix query" on some authority searches

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Jan 13 16:13:05 CET 2011


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

           Summary: ZOOM error 20003 "can't set prefix query" on some
                    authority searches
 Change sponsored?: ---
           Product: Koha
           Version: rel_3_2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: blocker
          Priority: P5
         Component: Searching
        AssignedTo: gmcharlt at gmail.com
        ReportedBy: fcapovilla at live.ca
         QAContact: koha-bugs at lists.koha-community.org
   Estimated Hours: 0.0


Created attachment 2986
  --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=2986
Fixes the search queries of the SearchAuthorities subroutine.

With some types of authority searches, a ZOOM error is sent : 

Example 1:

In /koha/authorities/authorities-home.pl , If I search for a "Corporate Name"
without entering any search term, I get the error :

ZOOM error 20003 "can't set prefix query" (addinfo: "@or @attr 7=1 @attr
1=Heading 0  @and  @attr 1=authtype @attr 5=100 CORPO_NAME") from diag-set
'ZOOM'


Example 2:

When adding or modifying a MARC record, click on the "..." next to the 100$a
field to do an authority search.
In the search window, any search with 0 or more than 1 search term returns a
ZOOM error :

ZOOM error 20003 "can't set prefix query" (addinfo: "@or @attr 7=1 @attr
1=Heading 0  @and  @attr 1=authtype @attr 5=100 PERSO_NAME @attr 1=Heading 
@attr 5=1 @attr 4=6 "test" @attr 1=Heading  @attr 5=1 @attr 4=6 "test"") from
diag-set 'ZOOM'


There was a problem in the way the SearchAuthorities subroutine in
C4/AuthoritiesMarc.pm created its search queries.

Patch attached to correct the problem.

-- 
Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the Koha-bugs mailing list