public inbox for gnats-devel@sourceware.org
 help / color / mirror / Atom feed
* Help: pr-edit is throwing an error !!
@ 2001-10-17 10:04 Chandra Ramesh
  2001-10-17 14:48 ` Rick Macdonald
  2001-12-03 20:21 ` Chandra Ramesh
  0 siblings, 2 replies; 4+ messages in thread
From: Chandra Ramesh @ 2001-10-17 10:04 UTC (permalink / raw)
  To: Gnats Help; +Cc: Chandra Ramesh

[-- Attachment #1: Type: text/plain, Size: 1673 bytes --]



Hello,

	We have GNATS 3.104 installed on a LINUX machine. We have the Web
interface (wwwgnats.pl) to Gnats thro' which we file our PRs.

	For our Project, I added a new State called "Terminate". (The Other
states are "Open", "in-work", "Fixed-but-to-be-tested", "Closed",
"Deferred").
	I added this state "Terminate" in the file "wwwgnats.pl". 

	I invoke the Gnats to file a PR. I file a PR and I get notification
thro' mail too. Upto this point it is working fine.

	Now, I want to "Terminate" this PR. So, I invoke the Web interface.
I enter the PR number and click on "Edit existing PR".
	The required form comes and in the "State" drop box, I select
"Terminate". I also enter the reason for changing the state and finally
	I click on the "Click here to submit changes" button. After clicking
the button I am encountering the following error:

	Your Problem Report changes have not been sent.

	Error: pr-edit returns status 256, and reports:
	pr-edit: Invalid fields>State: Terminate.

	I have a few queries for which I need clarifications:
	
	1) I know that I have to add this State elsewhere too. In which file
should I add this new State? (pr-edit.c, pr.c, query.c....)
		Which are the files which get modified in case I add a new
State?
	2) Should I change any header files?
	3) After adding this State should I compulsorily use Makefile OR can
I use "gcc" to compile and produce the executable?

	4) During Query of PRs too (through the Web interface), I am not
getting the PRs which are in State "Deferred" and "Terminate".
		Please let me know how I can rectify this.

	Please let me know the solution for this.

Thanks and With Best Regards,
Ramesh Chandra

[-- Attachment #2: Type: application/ms-tnef, Size: 2998 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2001-12-04  4:30 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-10-17 10:04 Help: pr-edit is throwing an error !! Chandra Ramesh
2001-10-17 14:48 ` Rick Macdonald
2001-12-03 20:30   ` Rick Macdonald
2001-12-03 20:21 ` Chandra Ramesh

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).