From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9577 invoked from network); 13 May 2004 10:16:28 -0000 Received: from unknown (HELO monty-python.gnu.org) (199.232.76.173) by sourceware.org with SMTP; 13 May 2004 10:16:28 -0000 Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1BODEs-0005db-Cc for listarch-gnats-devel@sources.redhat.com; Thu, 13 May 2004 06:14:54 -0400 Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.34) id 1BOCLR-0002Wu-8v for help-gnats@gnu.org; Thu, 13 May 2004 05:17:37 -0400 Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.34) id 1BOBcE-00011L-A3 for help-gnats@gnu.org; Thu, 13 May 2004 04:31:26 -0400 Received: from [195.233.129.142] (helo=rat01037.dc-ratingen.de) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.34) id 1BOBMM-0006py-V7 for help-gnats@gnu.org; Thu, 13 May 2004 04:14:31 -0400 Received: from mailtest.vodafone.com (mailtest.vodafone.com [195.233.128.119]) by rat01037.dc-ratingen.de (Switch-3.1.4/Switch-3.1.0) with ESMTP id i4D8EQQo025721 for ; Thu, 13 May 2004 10:14:26 +0200 (MEST) Received: from sims.mmo.de ([139.7.212.76]) by mailtest.vodafone.com (Switch-2.2.8/Switch-2.2.8) with ESMTP id i4D8EPu25143 for ; Thu, 13 May 2004 10:14:25 +0200 (MEST) Received: from sims.zv.mmo.de (isintra1-e0 [139.7.180.85]) by sims.mmo.de (Sun Internet Mail Server sims.4.0.2001.07.26.11.50.p9) with ESMTP id <0HXN0005E88038@sims.mmo.de> for help-gnats@gnu.org; Thu, 13 May 2004 10:14:24 +0200 (MET DST) Received: from vodafone.com (tesp02tern.tes.zv.mmo.de [10.2.8.118]) by sims.zv.mmo.de (Sun Internet Mail Server sims.4.0.2001.07.26.11.50.p9) with ESMTP id <0HXN00IMK87ZIX@sims.zv.mmo.de> for help-gnats@gnu.org; Thu, 13 May 2004 10:14:23 +0200 (MET DST) Date: Fri, 14 May 2004 05:49:00 -0000 From: "Max Bernhardt - extern TAGP - Tel. 3749" To: help-gnats@gnu.org Message-id: <40A32E5F.EB250097@vodafone.com> MIME-version: 1.0 X-Mailer: Mozilla 4.76 [en] (X11; U; SunOS 5.8 sun4u) Content-type: multipart/mixed; boundary="------------70EA37CBCA3DDE5C72FCD3BE" X-Accept-Language: en Subject: Queryproblems X-BeenThere: help-gnats@gnu.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: General discussion about GNU GNATS List-Archive: List-Post: List-Help: List-Subscribe: , Sender: help-gnats-bounces+listarch-gnats-devel=sources.redhat.com@gnu.org Errors-To: help-gnats-bounces+listarch-gnats-devel=sources.redhat.com@gnu.org X-SW-Source: 2004-q2/txt/msg00112.txt.bz2 This is a multi-part message in MIME format. --------------70EA37CBCA3DDE5C72FCD3BE Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-length: 2316 Hi, i just installed gnats-4.0 and gnatsweb-4.0. gnatsd is running and seems to be working fine. But ... I installed the default database, but left it alone, then i installed a second database called 'plami' and customized it (added access rights, added users, etc). Then i added a test pr in the class 'support'. Now when i do the following: query-pr -d plami --expr 'Class=="support"' everything is fine and dandy. I get the info to my pr. When i try to to the same in gnatsweb it doesn't work! On the first try i received the following answer: Return code: 415 - Invalid expression. After turning on the client_debug mode, I got the following output: client_cmd: rset client_cmd: qfmt "%s%s%d%s%d%d%d%d%d%d%d%{%Y-%m-%d %H:%M:%S %Z}D%{%Y-%m-%d %H:%M:%S %Z}D%{%Y-%m-%d %H:%M:%S %Z}D%s%s" builtinfield:Number Notify-List Category Synopsis Confidential Severity Priority Responsible State Class Submitter-Id Arrival-Date Closed-Date Last-Modified Originator Release client_cmd: expr '((! builtinfield:State[type]="closed")) & (State~"^open$")' Return code: 415 - Invalid expression. After some experimenting, it seemed to me that the parentheses seemed to be the problem. (Also I found a thread in the Mailinglist complaining about the operator '~'. One should use the operator '==' instead) So i changed the relevant lines in submitquery and appendexpr. The reply was ok, so i thought everything was fine until ... Well i wanted only the pr's that are open, so i unchecked "Ignore Closed" and got the following reply: client_cmd: rset client_cmd: qfmt "%s%s%d%s%d%d%d%d%d%d%d%{%Y-%m-%d %H:%M:%S %Z}D%{%Y-%m-%d %H:%M:%S %Z}D%{%Y-%m-%d %H:%M:%S %Z}D%s%s" builtinfield:Number Notify-List Category Synopsis Confidential Severity Priority Responsible State Class Submitter-Id Arrival-Date Closed-Date Last-Modified Originator Release client_cmd: expr 'State=="open"' client_cmd: quer Return code: 220 - No PRs match. This really is NOT what i expected! After some further experimenting it seems to me that the expression is not really evaluated at all. My System is Solaris8 and i'm using either Netscape7 or Firefox0.8. Anybody can help, please ... Regards MAx -- "There is no spoon ..." ;-) --------------70EA37CBCA3DDE5C72FCD3BE Content-Type: text/x-vcard; charset=us-ascii; name="Max.Bernhardt.vcf" Content-Transfer-Encoding: 7bit Content-Description: Card for Max Bernhardt - extern TAGP - Tel. 3749 Content-Disposition: attachment; filename="Max.Bernhardt.vcf" Content-length: 365 begin:vcard n:Bernhardt;Maximilian tel;cell:+49 172 2640222 tel;fax:+49 211 533 2124 tel;work:+49 211 533 3749 x-mozilla-html:FALSE org:;TESp - Zeitarbeiter version:2.1 email;internet:Max.Bernhardt@vodafone.com adr;quoted-printable:;;Mannesmann Mobilfunk GmbH=0D=0AAm Seestern5;Duesseldorf;NRW;40543;Germany x-mozilla-cpt:;-14920 fn:Maximilian Bernhardt end:vcard --------------70EA37CBCA3DDE5C72FCD3BE Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline Content-length: 139 _______________________________________________ Help-gnats mailing list Help-gnats@gnu.org http://mail.gnu.org/mailman/listinfo/help-gnats --------------70EA37CBCA3DDE5C72FCD3BE--