Package: gnats
Version: 4.1.0-0.1
Severity: important

In case of 'view' access level, a user can list non-confidential PRs.
But this version always return "no PRs match".

After analysis, the following patch on "set_confidential_access" method
in cmds.c works around the issue:

--- cmds.c.orig 2007-09-13 15:57:05.000000000 +0200
+++ cmds.c      2007-09-13 15:57:15.000000000 +0200
@@ -365,7 +365,7 @@
     {
       QueryExpr newQ
        = parseQueryExpression (currentDatabase, 
-                               "builtinfield:Confidential ~ \"no\"",
+                               "builtinfield:Confidential~\"no\"",
                                NULL);
       *search = booleanQuery (QueryAnd, *search, newQ);
     }

I guess there is a larger problem with the expression parser generation (flex
or bison-1.35 ?)


-- System Information:
Debian Release: 4.0
  APT prefers stable
  APT policy: (800, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-4-686
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)

Versions of packages gnats depends on:
ii  adduser                3.102             Add and remove users and groups
ii  debianutils            2.17              Miscellaneous utilities specific t
ii  exim4                  4.63-17           metapackage to ease exim MTA (v4) 
ii  exim4-daemon-light [ma 4.63-17           lightweight exim MTA (v4) daemon
ii  gnats-user             4.1.0-0.1         The GNU problem report management 
ii  libc6                  2.3.6.ds1-13etch2 GNU C Library: Shared libraries
ii  netbase                4.29              Basic TCP/IP networking system

gnats recommends no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to