deleted ppa (and/or deleted team) appears in my private ppa subscriptions

Bug #1861040 reported by Dan Streetman on 2020-01-27
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself

Bug Description

On my 'private ppa subscriptions' page, I appear to have several active subscriptions to deleted ppas, all which appear to be the normal ppa name suffixed with '-deletedppa', e.g.:

>>> for s in
... if s.archive_link.endswith('-deletedppa'):
... print(s.archive_link)

Some (maybe all?) of these ppas seem to actually still exist, even if they were deleted long ago, e.g. I deleted this ppa long ago but it appears to still exist:

These deleted ppas showing up in my subscriptions list are not generally a problem other than being annoying by increasing the size of the list, but they do cause failures when programatically parsing the subscribed ppa list (e.g. with launchpadlib), since the team owning the deleted ppa may not be accessible to me; for example I can't access the team that owns this ppa:

>>> import lazr
>>> try:
... lp.people('canonical-sustaining-merged')
... except lazr.restfulclient.errors.NotFound as e:
... print('failed: %s' % e)
failed: HTTP Error 404: Not Found

Changed in launchpad:
importance: Undecided → Medium
status: New → Triaged
tags: added: ppa soyuz-security
Colin Watson (cjwatson) on 2020-04-04
tags: added: lp-soyuz
Colin Watson (cjwatson) on 2020-08-24
Changed in launchpad:
importance: Medium → Low
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers