AJAX muting and unmuting broken on some projects

Bug #741645 reported by William Grant
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself
Fix Released
Low
Graham Binns

Bug Description

update_mute_after_subscription_change does this:

        mute_link.setAttribute(
            'href', mute_link.getAttribute('href').replace(
                '+mute', '+subscribe'));

That's going to break if any other part of the URL (eg. the project name) contains +mute. And it does the opposite as well, so +subscribe breaks too.

Related branches

Revision history for this message
Graham Binns (gmb) wrote : Re: [Bug 741645] [NEW] AJAX muting and unmuting broken on some projects

You're right, this is more fragile than I'd actually thought about it
being. Luckily the fix is relatively simple.

Graham Binns (gmb)
Changed in launchpad:
status: Triaged → In Progress
assignee: nobody → Graham Binns (gmb)
Revision history for this message
Launchpad QA Bot (lpqabot) wrote :
Changed in launchpad:
milestone: none → 11.04
tags: added: qa-needstesting
Changed in launchpad:
status: In Progress → Fix Committed
William Grant (wgrant)
tags: added: qa-ok
removed: qa-needstesting
William Grant (wgrant)
Changed in launchpad:
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.