It's possible to create the same subscription over and over again

Bug #792445 reported by Diogo Matsubara
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Launchpad itself
Triaged
Low
Unassigned

Bug Description

To reproduce:
1. Go to https://bugs.staging.launchpad.net/launchpad/+subscriptions
2. Click Add subscription
3. Add a subscription with the default options
4. Repeat steps 2 and 3 over and over again

or using the API:

lp_project = lp.projects('launchpad')
lp_project.addBugSubscriptionFilter(subscriber=lp.me)
for i in range(500):
    lp_project.addBugSubscriptionFilter(subscriber=lp.me)

You can create the same subscription filter and the page has no batching.
Depending on the number of subscriptions, the page might time out.

Revision history for this message
Gary Poster (gary) wrote :

Thank you, Diogo.

My personal prioritization of this is low.

Creating multiple identical subscriptions is not a problem in my book. If you don't allow it, then you get into weird situations, like disallowing modification of a subscription because it would make it just like an existing one. That might even just be a transitional step while you adjust things.

Batching is a separate aspect of this, and could have a separate bug. That said, having many, many pertinent subscriptions is a broken use case IMO; supporting it gracefully is also a low priority IMO.

Changed in launchpad:
importance: High → Low
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.