Project name display error on overview page for a deleted project

Bug #1183172 reported by Liyingjun
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)
Fix Released
Low
Liyingjun

Bug Description

Project name column show `-` on overview page if the project is deleted.

Is it proper that the usage summary informations still exist on the overview page for a deleted project ?

reproduce:

1.create a new project and a user attached to the project.
2.login horizon using the new user.
3.create a new instance, then, delete it.
4.login horizon using the admin user, then, delete the project created at step 1.

Revision history for this message
Ladislav Smola (lsmola) wrote :

I see several options that can be done

1.
Probably easiest. Cascade delete all summary information about the project, when the project is deleted.

2.
Don't actually delete the project, just mark it with state deleted (advantage here is that the project can be always restored). So the relation between project and summary information will be kept and correct project name will be shown.

3.
Save the actual project name to the summary record (not sure how is that implemented and stored), it can be done upon delete of the project. But this option not seems to be a clean solution.

Changed in horizon:
status: New → Confirmed
Liyingjun (liyingjun)
Changed in horizon:
assignee: nobody → Liyingjun (liyingjun)
Changed in horizon:
importance: Undecided → Low
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to horizon (master)

Fix proposed to branch: master
Review: https://review.openstack.org/68013

Changed in horizon:
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to horizon (master)

Reviewed: https://review.openstack.org/68013
Committed: https://git.openstack.org/cgit/openstack/horizon/commit/?id=63f4e63e53609a381892b001069d6d10a4eb2ac5
Submitter: Jenkins
Branch: master

commit 63f4e63e53609a381892b001069d6d10a4eb2ac5
Author: liyingjun <email address hidden>
Date: Mon Jan 13 09:17:57 2014 +0800

    Handle summary information for deleted project

    If we could not get the project name for the usage summary, show the
    tenant_id with a 'deleted' identifier instead.

    Closes-bug: #1183172

    Change-Id: Ieb03a64dd6311bcdb026d8cdf63f08ec10480ea8

Changed in horizon:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in horizon:
milestone: none → icehouse-3
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in horizon:
milestone: icehouse-3 → 2014.1
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.