On Thu, 2007-09-13 at 10:17 +0200, Yves Martin wrote:
> Hello,
> 
> I have troubles with my GNATS databases since I have upgraded from gnats
> 4.0 to gnats 4.1 (Debian Etch system) using gnatsweb as front-end
> 
> Since upgrade, a user with "view" access right always receive:
>   server_reply: 220 No PRs match.
> Whereas a user with "edit" or "viewconf" access right gets 52
> non-confidential issues.

Finally, I have found a bug after a debug party with a colleague in the
method:

--- 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);
     }

The current expression does not work properly with gnats 4.1 - does it
come from a bug in Etch versions of lex or bison-1.35 ?

More investigation is necessary I think.
Regards
-- 
Yves Martin


_______________________________________________
Help-gnats mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-gnats

Reply via email to