Multiple ClickPackageSubscriptions found for user

Bug #1247789 reported by Michael Nelson
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Software Center Agent
Fix Released
Medium
Matias Bordese

Bug Description

We're seeing several of these in our reports [1]. They're being raised when checking if a user is allowed to download.

The code triggering this is doing:
ClickPackageSubscription.objects.get(application=app, user=user, _state_token='Complete')

which looks like it should never find two entries.

[1] OOPS-f01d89534ca043a3858796e3b4b16a95, traceback for posterity: https://pastebin.canonical.com/99776/

Changed in software-center-agent:
status: Confirmed → In Progress
Matias Bordese (matiasb)
Changed in software-center-agent:
assignee: nobody → Matias Bordese (matiasb)
Changed in software-center-agent:
status: In Progress → Fix Committed
Changed in software-center-agent:
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.