[Bug 954711] New: yaz: Attribute inheritance inconsistent using CCL and causing error code 117
http://bugzilla.opensuse.org/show_bug.cgi?id=954711 Bug ID: 954711 Summary: yaz: Attribute inheritance inconsistent using CCL and causing error code 117 Classification: openSUSE Product: openSUSE Distribution Version: 13.2 Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Maintenance Assignee: bnc-team-screening@forge.provo.novell.com Reporter: dcook@prosentient.com.au QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- There is a problem in YAZ (from at least 5.1.2 to 5.14.12) where the CCL2RPN doesn't handle attribute inheritance 100% correctly. High level relevance attributes will override low level relevance attributes created by the special attributes r=o and r=r. Example: ccl.properties: rk 2=102 lex 1=9903 r=r st-numeric 4=109 r=o CCL query: (rk=( lex,st-numeric="300-600")) Zebra server message with associated RPN translation: 10:39:19-10/11 zebrasrv(25) [request] Search biblios ERROR 117 13 1+0 RPN @attrset Bib-1 @attr 1=9903 @attr 4=109 @attr 2=102 300-600 It should actually be creating a RPN query like this: @attr 2=102 @and @attr 1=9903 @attr 4=109 @attr 2=4 300 @attr 1=9903 @attr 4=109 @attr 2=2 600 Or even the following if it realizes the "rk" qualifier is irrelevant: @and @attr 1=9903 @attr 4=109 @attr 2=4 300 @attr 1=9903 @attr 4=109 @attr 2=2 600 This is a bug in YAZ, which I raised with Indexdata (the company behind the YAZ software), and they've fixed it as of YAZ version 5.15.0. Relevant commit from Indexdata Git repository: http://git.indexdata.com/?p=yaz.git;a=commit;h=31596bdcae098f8acea695d44c44e... I haven't tested the fix myself yet, but Adam Dickmeiss from Indexdata assures me that it has been fixed. At this point, I'm mostly just opening this bug report to highlight that there have been recent bug fixes to the YAZ package which could be utilized downstream. Another good fix from three months ago is "Fix yaz-client: semicolon terminates arguments YAZ-851" http://git.indexdata.com/?p=yaz.git;a=commit;h=5be87e7a04c7219b31cefc0a3bd02.... There's actually been a lot done between the current version of 5.8.1 in openSUSE 13.2 and the latest 5.15.0. -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com