From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30292 invoked from network); 6 Feb 2005 07:49:50 -0000 Received: from unknown (HELO lists.gnu.org) (199.232.76.165) by sourceware.org with SMTP; 6 Feb 2005 07:49:50 -0000 Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Cx2OT-0006XQ-JK for listarch-gnats-devel@sources.redhat.com; Fri, 04 Feb 2005 07:17:01 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Cx2O3-0006QO-U2 for help-gnats@gnu.org; Fri, 04 Feb 2005 07:16:36 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Cx2O2-0006Pa-3h for help-gnats@gnu.org; Fri, 04 Feb 2005 07:16:34 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Cx2O1-0006Ni-UH for help-gnats@gnu.org; Fri, 04 Feb 2005 07:16:33 -0500 Received: from [62.52.48.122] (helo=imap.multamedio.de) by monty-python.gnu.org with esmtp (Exim 4.34) id 1Cx25q-0004v9-G0 for help-gnats@gnu.org; Fri, 04 Feb 2005 06:57:49 -0500 Received: by imap.multamedio.de (Postfix, from userid 65534) id C666C1A93D4; Fri, 4 Feb 2005 12:57:44 +0100 (CET) Received: from [192.168.0.86] (124.net2.multamedio.de [62.52.48.124]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (Client did not present a certificate) by imap.multamedio.de (Postfix) with ESMTP id 6D2261A9374; Fri, 4 Feb 2005 12:57:43 +0100 (CET) Message-ID: <42036345.8070600@multamedio.de> Date: Sun, 06 Feb 2005 07:49:00 -0000 From: Alexander Mueller Organization: MULTA MEDIO Informationssysteme AG User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: help-gnats@gnu.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Conditional "on-change" does not work for "require-change-reason" X-BeenThere: help-gnats@gnu.org X-Mailman-Version: 2.1.5 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: 2005-q1/txt/msg00016.txt.bz2 Hi, I'm using gnats 4.01 and have encountered a strange problem concerning the "on-change" section. Using a query expression to make the execution of the actions contained in an "on-change" section conditional works just fine, except for the "require- change-reason" action. No matter whether the query expression is true or false the "require-change-reason" action is always executed, while for other actions contained in the same "on- change" section the result of the evaluation of the query expression is correctly taken into account. Here's an example: on-change "State[type]!=\"closed\"" { require-change-reason <---- always executed set-field "Foo" { <---- executed if query "Bar" expression is true } } I've already skimmed the relevant parts of the sources but couldn't find any particular reason for my problem. Any advice? Please be benignant because I'm new to gnats ;-) Cheers, Alexander Mueller _______________________________________________ Help-gnats mailing list Help-gnats@gnu.org http://lists.gnu.org/mailman/listinfo/help-gnats