Comment 1 for bug 256940

Revision history for this message
Gavin Panella (allenap) wrote :

This is also very confusing for users of searchTasks(). It accepts a
status parameter and a status_upstream parameter. The status is one of
"Fix Released", "Confirmed", etc., but status_upstream is completely
different, being one of "pending_bugwatch", "hide_upstream",
"resolved_upstream", or "open_upstream".

For status_upstream at least, the accepted parameters are not even
enumerated in the WADL. If we don't document enumerated fields there
is almost no way a user can use the API properly from launchpadlib.

The very least Launchpad could do is to return the list of valid
parameters in the error message.