[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Gnatsweb

From: Mark D. Baushke
Subject: Re: Gnatsweb
Date: Sun, 27 May 2001 02:25:04 -0700

Hi James,

Make sure that your clients are all properly issuing the EDITADDR
directive in the gnats client-server protocol (this is how gnats fills
in the State-Changed-By field).

Depending on the version of gnatsweb you have, you want it to send a
client_cmd("editaddr $db_prefs{'user'}"); in the 'sub submitedit {...}

However, you also need for $db_prefs{'user'} to have the value of the
username which will be in a user cookie, so if cookies are disabled or
the user is not entering anything to get that information filled out,
then, you won't have any useful information for the editaddr command
to the server and you will get the 'null' results you are seeing.

        Good luck,
        -- Mark

> From: "James Dennis" <address@hidden>
> Date: Sun, 27 May 2001 10:08:07 +0100
> Hey folks,
> I've got the latest gnatsweb and GNATs from CVS and I've almost got it
> running exactly how I want. One problem is that the person making an edit is
> not reported correctly eg:
> State-Changed-From-To: open->analyzed
> State-Changed-By:
> State-Changed-When: Sat, 26 May 2001 20:03:03 BST
> State-Changed-Why:
> Emails also come from 'null'. Anyone know how to fix this?
> J.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]