Cannot load MP of suspended user

Bug #1980732 reported by Robie Basak
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself
Triaged
Low
Unassigned

Bug Description

https://code.launchpad.net/~git-ubuntu-import/+activereviews currently lists https://code.launchpad.net/~git-ubuntu-import/ubuntu/+source/systemd/+git/systemd/+merge/394285

However, if I try to load this MP in the API, it fails:

>>> lp.load('https://api.launchpad.net/devel/~nurdinjaelani1/ubuntu/+source/git/+git/git/+merge/394285')

...

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.

Guruprasad (lgp171188)
Changed in launchpad:
importance: Undecided → Low
status: New → Triaged
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.