From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16544 invoked from network); 18 May 2004 14:14:20 -0000 Received: from unknown (HELO monty-python.gnu.org) (199.232.76.173) by sourceware.org with SMTP; 18 May 2004 14:14:20 -0000 Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1BQ4l0-0000zy-I1 for listarch-gnats-devel@sources.redhat.com; Tue, 18 May 2004 09:35:46 -0400 Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.34) id 1BQ4kg-0000z7-UT for help-gnats@gnu.org; Tue, 18 May 2004 09:35:27 -0400 Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.34) id 1BQ4k9-0000tJ-FE for help-gnats@gnu.org; Tue, 18 May 2004 09:35:25 -0400 Received: from [195.233.129.143] (helo=rat01038.dc-ratingen.de) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.34) id 1BQ4Q9-0006LQ-MM; Tue, 18 May 2004 09:14:14 -0400 Received: from mailtest.vodafone.com (mailtest.vodafone.com [195.233.128.119]) by rat01038.dc-ratingen.de (Switch-3.1.4/Switch-3.1.0) with ESMTP id i4IDE9OD017860; Tue, 18 May 2004 15:14:09 +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 i4IDE8u17772; Tue, 18 May 2004 15:14:08 +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 <0HXW00C31VFJJ8@sims.mmo.de>; Tue, 18 May 2004 15:14:07 +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 <0HXW00BYCVFI81@sims.zv.mmo.de>; Tue, 18 May 2004 15:14:06 +0200 (MET DST) Date: Thu, 20 May 2004 20:26:00 -0000 From: "Max Bernhardt - extern TAGP - Tel. 3749" To: help-gnats@gnu.org, bug-gnats@gnu.org Message-id: <40AA0C1E.F0919FAF@vodafone.com> MIME-version: 1.0 X-Mailer: Mozilla 4.76 [en] (X11; U; SunOS 5.8 sun4u) Content-type: multipart/mixed; boundary="------------30773E4C17AD1ED0E50078DF" X-Accept-Language: en Cc: Subject: Problems with Query in gnatsweb 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/msg00119.txt.bz2 This is a multi-part message in MIME format. --------------30773E4C17AD1ED0E50078DF Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-length: 2336 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 help me this time ... Regards Max -- "There is no spoon ..." ;-) --------------30773E4C17AD1ED0E50078DF 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 --------------30773E4C17AD1ED0E50078DF 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 --------------30773E4C17AD1ED0E50078DF--