Team unsubscription broken
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Fix Released
|
Undecided
|
William Grant |
Bug Description
The change to make person/team fmt:links point to the mainsite has broken team unsubscription. This is quite a separate issue from bug #415166, although the same change triggered both.
The JavaScript works out the API URL to unsubscribe by looking at the href of the link in the subscriber's portlet. This was previously something like "/~someperson", but is now "https:/
This causes a couple of obvious problems:
- Subscriber.
- unsubscribe_
A related problem is that inline subscriptions are inserted into the subscribers portlet with a href of just "/~someperson". I suspect that fixing that will be required to fix this.
I've attached a diff resulting from my poking around. It seems to solve all the problems, but with an utterly awful and useless hack.
Related branches
- Graham Binns (community): Approve (code js)
- Diff: None lines
Changed in malone: | |
status: | New → In Progress |
assignee: | nobody → William Grant (wgrant) |
milestone: | none → 2.2.8 |
Changed in malone: | |
status: | Fix Committed → Fix Released |
Fixed in devel r9154.