task.transitionToTarget() does not change the target of a task immediately
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Triaged
|
Low
|
Unassigned |
Bug Description
transitionToStatus and transitionToImp
In [1]: b = launchpad.
In [2]: t = b.bug_tasks[0]
In [3]: t.status
Out[3]: u'New'
In [4]: t.transitionToS
In [5]: t.status
Out[5]: u'Invalid'
In [6]: t.target
Out[6]: <project at https:/
In [7]: a = launchpad.
In [8]: t.transitionToT
In [9]: t.target
Out[9]: <project at https:/
In [10]: b.lp_refresh()
In [11]: t.target
Out[11]: <project at https:/
In [12]: b = launchpad.
In [13]: t = b.bug_tasks[0]
In [14]: t.target
Out[14]: <project at https:/
Changed in malone: | |
assignee: | Tom Berger (intellectronica) → nobody |
Changed in launchpad: | |
importance: | Medium → Low |
The problem is that the URL of the object changes (since the target is part of the URL). Not sure yet how that can be best solved.