[dashboard]deployment_history page gives KeyError

Bug #1703180 reported by zhurong
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Murano
Fix Released
High
zhurong

Bug Description

ERROR django.request Internal Server Error: /app-catalog/deployment_history
Traceback (most recent call last):
  File "/root/openstack/horizon/.venv/local/lib/python2.7/site-packages/django/core/handlers/exception.py", line 42, in inner
    response = get_response(request)
  File "/root/openstack/horizon/.venv/local/lib/python2.7/site-packages/django/core/handlers/base.py", line 249, in _legacy_get_response
    response = self._get_response(request)
..........
  File "/root/openstack/horizon/horizon/tables/base.py", line 1927, in get_rows
    exc_info[2])
  File "/root/openstack/horizon/horizon/tables/base.py", line 1916, in get_rows
    row = self._meta.row_class(self, datum)
  File "/root/openstack/horizon/horizon/tables/base.py", line 584, in __init__
    self.load_cells()
  File "/root/openstack/horizon/horizon/tables/base.py", line 613, in load_cells
    cell = table._meta.cell_class(datum, column, self)
  File "/root/openstack/horizon/horizon/tables/base.py", line 726, in __init__
    self.data = self.get_data(datum, column, row)
  File "/root/openstack/horizon/horizon/tables/base.py", line 770, in get_data
    data = column.get_data(datum)
  File "/root/openstack/horizon/horizon/tables/base.py", line 420, in get_data
    data = self.get_raw_data(datum)
  File "/root/openstack/horizon/horizon/tables/base.py", line 394, in get_raw_data
    data = self.transform(datum)
  File "/root/openstack/murano-dashboard/muranodashboard/environments/tables.py", line 726, in get_deployment_history_services
    template_name = 'deployments/_cell_services.html'
TemplateSyntaxError: 'name'

zhurong (zhu-rong)
Changed in murano:
importance: Undecided → High
assignee: nobody → zhurong (zhu-rong)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to murano-dashboard (master)

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

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

Reviewed: https://review.openstack.org/481904
Committed: https://git.openstack.org/cgit/openstack/murano-dashboard/commit/?id=b9ea284b961d6636b2dd95156cf66c605b3dce36
Submitter: Jenkins
Branch: master

commit b9ea284b961d6636b2dd95156cf66c605b3dce36
Author: zhurong <email address hidden>
Date: Sun Jul 9 17:45:06 2017 +0800

    Fix KeyError in deployment history page

    use package name as the service name when service have no name.

    Change-Id: Ib7585b2c8742dde7c1c0a350db48dee96d1ad0a8
    Closes-bug: #1703180

Changed in murano:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/murano-dashboard 4.0.0.0b3

This issue was fixed in the openstack/murano-dashboard 4.0.0.0b3 development milestone.

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.