stale notification after an AJAX action
Bug #758976 reported by
Diogo Matsubara
This bug report is a duplicate of:
Bug #759606: Change upstream link removal button to an AJAX control.
Edit
Remove
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Triaged
|
High
|
Unassigned |
Bug Description
1. Open https:/
2. Make sure there's a linked upstream series (e.g. Gwibber 1.0 series)
3. Unlink the upstream series, you'll see a message: "Removed upstream association between Gwibber 1.0 series and Natty."
4. Add the upstream link again using the AJAX overlay
5. The message displayed on step 3 is still there.
This was found in the translations sharing details page but it's part of a deeper fix than just translations, perhaps in general we should get rid of notifications after AJAX actions, since they are no longer relevant
Changed in launchpad: | |
importance: | Medium → High |
To post a comment you must log in.
The solution for this requires some thought. I recently had implemented functionality to do what is suggested - remove notifications after AJAX actions - and this had unintended bad consequences. See bug 754058.
One possible solution - tag each AJAX request with a header item which is sent back with the response, indicating that notifications are to be reset. That way AJAX requests in general (ie non user initiated ones which are done as part of a page load) will not reset the notifications but ones we choose to will.