LD does not deal well with renamed teams

Bug #582354 reported by Dan Trevino on 2010-05-18
30
This bug affects 4 people
Affects Status Importance Assigned to Milestone
LoCo Team Portal
High
Daniel Holbach

Bug Description

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

Related branches

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
Daniel Holbach (dholbach) wrote :

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

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

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

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.)

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
Daniel Holbach (dholbach) wrote :

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

Changed in loco-directory:
importance: Medium → High
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.

Bilal Akhtar (bilalakhtar) wrote :

But I am not going to do that ^^

Daniel Holbach (dholbach) wrote :

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

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
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  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers