help-gnats
[Top][All Lists]
Advanced

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

Re: Removed lines in responsible


From: Yngve Svendsen
Subject: Re: Removed lines in responsible
Date: Sun, 27 Oct 2002 22:48:14 +0100

At 13:25 24.10.2002 +0200, Lars Henriksen wrote:
Here is a proposal for a solution to the problems gnatsweb has with entries
that have been removed from the responsible file. See also my previous email
in this thread.

Committed. there were some problems with hash references, but I cleaned it up.

It is a general solution for all unknown enumeration type values, not just
responsible. The solution leaves the gnatsweb query format unchanged, i.e.
enumeration values are still returned as integers.

In a longer perspective, we should probably look into stopping doing that. Using integer values messes up the sorting system for instance, since you do not get an alphabetical order of values when you sort query results on an enumerated value field ("sort" should rather be called "group" for that kind of field).

The net effect is that for enumeration type values which are undefined,
"unknown" is displayed in query results and is preselected in drop-down menues
on the Edit page (thus forcing an explicit change).

I toyed with the idea of changing "unknown" to "Select value".

(snip)

Finally, "unknown" is preselected as Category on the Create page. This is not
related to the other changes. It forces users to select a category. Experience
shows that users often forget to do so; the new PR is then created in the
default category (pending, the first category in the categories file).

Good idea.

- Yngve




reply via email to

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