Cannot load MP of suspended user
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Triaged
|
Low
|
Unassigned |
Bug Description
https:/
However, if I try to load this MP in the API, it fails:
>>> lp.load('https:/
...
ClientError: HTTP Error 410: Gone
...
Response body:
---
b"'User is suspended: ~nurdinjaelani1'"
---
Expected behaviour: if I have visibility of an object in the Web UI, I should also have visibility of the same object in the API.
Actual behaviour: the API can't load this object that I can see in the Web UI, and is discoverable from the +activereviews page.
I hit this when using my workaround for bug 1979817 that scrapes the web UI +activereviews page. I guess I'll have to work around by just skipping objects I cannot load. However, this means that I cannot work on these particular MPs that appear on the +activereviews page using the API, which I am trying to do to automatically redirect languishing MPs against git-ubuntu branches.
Changed in launchpad: | |
importance: | Undecided → Low |
status: | New → Triaged |