From: Alexander Mueller <amueller@multamedio.de>
To: help-gnats@gnu.org
Subject: Conditional "on-change" does not work for "require-change-reason"
Date: Sun, 06 Feb 2005 07:49:00 -0000 [thread overview]
Message-ID: <42036345.8070600@multamedio.de> (raw)
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
next reply other threads:[~2005-02-06 7:49 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-02-06 7:49 Alexander Mueller [this message]
2005-02-17 21:31 ` Mel Hatzis
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=42036345.8070600@multamedio.de \
--to=amueller@multamedio.de \
--cc=help-gnats@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).