CSV Summary for individual project/tenant inside Admin is not working

Bug #1255667 reported by Leandro Ignacio Costantino
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)
Fix Released
Undecided
Leandro Ignacio Costantino

Bug Description

When trying to download CSV usage information for a specific project/tenant inside Admin view, and exception is thrown due to 'ProjectUsageView'object has not attribute 'csv_response_class'

Steps to reproduce:
  [1] Click 'Admin' Tab
  [2] Click Projects
  [3] Click 'More'->View Usage on any project
  [4] Click on Download CSV summary.

Changed in horizon:
assignee: nobody → Leandro Ignacio Costantino (leandro-i-costantino)
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/58856

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

Reviewed: https://review.openstack.org/58856
Committed: http://github.com/openstack/horizon/commit/340bf16be00706235b66309f327611c1bca02f50
Submitter: Jenkins
Branch: master

commit 340bf16be00706235b66309f327611c1bca02f50
Author: Leandro I. Costantino <email address hidden>
Date: Fri Dec 6 10:52:24 2013 -0500

    CSV Summary not working inside Admin panel.

    When browsing Project usages from 'Admin->Projects->More->View Usages'
    an AttributeError exception is thrown due to missing csv_render_class
    attribute.
    Also, project_id instead of tenant_id in BaseUsage were expected, so
    any request to /admin/projects/[id]/usage/ will always return the current
    tenant from session.
    This fix reuse logic from project/overview/ into this view.

    Change-Id: I7d762569a7de176fdb8545a226e563afac34adae
    Closes-Bug: #1255667

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