Store returns revoked snap when revoked and approved snaps exist

Bug #1778493 reported by Alan Pope 🍺🐧🐱 🦄
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Snap Store Server
Fix Released
Medium
Facundo Batista

Bug Description

We had an issue where a developer had a snap which had both a revoked name and an approved name in the store. The snap is published and in use by users. They ran "snapcraft status <snapname>" and got the error..

Error fetching status of snap id 'wvGJK3e1sfXhyBjOvX33JCa0AqPquZf1' for 'any arch' in '16' series: The resource requested does not exist or credentials are not sufficient to access it..

This is returning the revoked name, not the approved one. I spoke to wgrant on IRC who ninja'd the revoked one out which should fix the issue.

This seems to be a flaw in the store, returning the revoked snap when there is an approved version with the same name. Can the store please return the approved one. Until that's fixed, perhaps a scan of snaps which have both approved *and* revoked might be in order so we can be ahead of people who contact us with the same issue?

Bret Barker (noise)
Changed in snapstore:
status: New → Confirmed
importance: Undecided → Medium
Changed in snapstore:
assignee: nobody → Facundo Batista (facundo)
Daniel Manrique (roadmr)
Changed in snapstore:
status: Confirmed → In Progress
status: In Progress → Fix Committed
Changed in snapstore:
status: Fix Committed → Fix Released
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.