Bug XML output questions

Max Kanat-Alexander mkanat at bugzilla.org
Thu Sep 17 00:39:23 UTC 2009


On 09/16/2009 09:21 AM, Gervase Markham wrote:
> * cclist_accessible and reporter_accessible are not in the XML at all if
> their value is 0.

	That sounds like a bug to me.

> * keywords is a comma-separated list, unlike other multi-valued fields,
> which get one tag pair per value.

	This is certainly a deficiency, but I suspect we'd be breaking stuff if
we changed it now. Keywords guarantee that they won't themselves contain
commas, so this is still parseable.

> * It doesn't tell you if custom fields are single-valued, or are
> multiple-valued fields which happen to just contain a single value. You
> have to call the legal_values API for each field.

	config.cgi's RDF format should tell you the type of each field, I believe.

> * There's no way of finding out what possible flags can be set, only the
> ones which are set.

	config.cgi should give you this information.

	You might want to look at the implementation of Mylyn, if you can read
Java, since it handles all these things.

> * Same as the question above, but for groups. (Can legal_values help in
> either of these cases?)

	That one might be trickier, since we usually consider group names to be
themselves confidential unless you are an admin or a member of the
group. The data *might* be in config.cgi.

	-Max
-- 
http://www.everythingsolved.com/
Competent, Friendly Bugzilla and Perl Services. Everything Else, too.



More information about the developers mailing list