LD does not deal well with renamed teams

Bug #582354 reported by Dan Trevino
30
This bug affects 4 people
Affects Status Importance Assigned to Milestone
LoCo Team Portal
Fix Released
High
Daniel Holbach

Bug Description

"Ubuntu Washington LoCo", "Ubuntu Saudi Arabia LoCo Team" and "Thai Loco Team" are duplicated in the team listing

Tags: teams data ui

Related branches

Revision history for this message
Chris Johnston (cjohnston) wrote :

Washington has two LP teams according to LoCo dir:

ubuntu-washington and washingtonstate - ubuntu-washington looks to be correct

Thai has thai-locoteam and ubuntu-th - ubuntu-th looks to be correct.

Saudi Arabia is ubuntu-sa-loco and ubuntu-sa with ubuntu-sa looking correct.

Changed in loco-directory:
status: New → Confirmed
status: Confirmed → Triaged
importance: Undecided → Medium
Revision history for this message
Daniel Holbach (dholbach) wrote :

Do those teams still exist? Are they all part of ~locoteams or ~locoteams-approved?

Revision history for this message
Chris Johnston (cjohnston) wrote : Re: [Bug 582354] Re: teams duplicated in listing

When you click the link to the team from loco dir to lp it gives a
page not found.

Revision history for this message
Chris Johnston (cjohnston) wrote : Re: teams duplicated in listing

Also can add dcteam vs ubuntu-districtofcolumbia to the list.

Revision history for this message
Daniel Holbach (dholbach) wrote :

In those cases the teams were renamed in Launchpad. :-(

We need to check in lpupdate if they still exist. This sucks. We will have to remove all data attached to teams that were renamed. (events, etc.)

Revision history for this message
Daniel Holbach (dholbach) wrote :

The decision is to:

 - add a "delete team" button for admins and owners of the old team (that's deleted in LP)
 - ask for the id of a new team, and only if they're admin/owner of the new team too, old events get reassigned
 - delete team

tags: added: data teams ui
Revision history for this message
Daniel Holbach (dholbach) wrote :

From bug 589519: "It's no longer ~dcteam but instead ~ubuntu-districtofcolumbia".

Changed in loco-directory:
importance: Medium → High
Revision history for this message
Bilal Akhtar (bilalakhtar) wrote :

Yep, the problem began with my team when I changed its name from ~ubuntu-sa-loco to just ~ubuntu-sa .
Perhaps this problem will be fixed if I leave and then re-join the ~locoteams team.

Revision history for this message
Bilal Akhtar (bilalakhtar) wrote :

But I am not going to do that ^^

Revision history for this message
Daniel Holbach (dholbach) wrote :

Bilal: don't worry - it's a bug in LoCo Directory we need to fix.

Revision history for this message
Michael Hall (mhall119) wrote :

If we can get some kind of permanent UID from launchpad, then we could handle the renames without adding new teams, and there would be no need for functionality to transition from one record to another.

summary: - teams duplicated in listing
+ LD does not deal well with renamed teams
Revision history for this message
Laura Czajkowski (czajkowski) wrote :
Changed in loco-directory:
assignee: nobody → Daniel Holbach (dholbach)
status: Triaged → In Progress
Changed in loco-directory:
milestone: none → 0.2.20
status: In Progress → Fix Committed
Changed in loco-directory:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.