"Incomplete" is not a valid bug status

Bug #901203 reported by Daniel Holbach
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself
Triaged
Critical
Unassigned

Bug Description

According to https://launchpad.net/+apidoc/devel.html#bug_task "Incomplete" is a valid task status. It seems that the correct bug statuses for "Incomplete" are "Incomplete (with response)" and "Incomplete (without response)".

IMO the docs should be updated and a error thrown (or maybe the sum of both Incomplete statuses shown?)

Thanks.

Revision history for this message
Julian Edwards (julian-edwards) wrote :

The docs are correct, it's supposed to map the "Incomplete" to "Incomplete (without response)" internally when setting.

Changed in launchpad:
status: New → Triaged
importance: Undecided → Critical
tags: added: regression
Revision history for this message
Gary Poster (gary) wrote :

Hi Daniel. I can't duplicate on a local instance with the most recent version of launchpadlib.

>>> t = bug.bug_tasks[0]
>>> t.status = u'Incomplete'
>>> t.lp_save()
>>> bug.bug_tasks[0].status
u'Incomplete'

(I also verified through the browser that the change had been applied.)

When doing this I noticed that the following does not work, which really is nasty:

>>> bug.bug_tasks[0].status = u'Incomplete'
>>> bug.bug_tasks[0].lp_save()
>>> bug.bug_tasks[0].status
u'New'

Yuck. That's because bug.bug_tasks[0] is a different object each time. :-(

Could you let us know what version of launchpadlib you are using, or any other details you can think of that might help? This should do the trick for getting the version:

python -c 'import launchpadlib; print launchpadlib.__version__'

Thanks!

Changed in launchpad:
status: Triaged → Incomplete
Revision history for this message
Leo Arias (elopio) wrote :

I think Daniel is referring to bug #922769.

Leo Arias (elopio)
Changed in launchpad:
status: Incomplete → New
Curtis Hovey (sinzui)
Changed in launchpad:
status: New → Triaged
Curtis Hovey (sinzui)
tags: added: bugs
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.