Attribute resource_type_names is not always present in Metadata Defs

Bug #1420890 reported by Rob Cresswell
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)
Fix Released
High
Unassigned

Bug Description

The error message below is shown on loading the Metadata Definitions table in DevStack. The table shows the resource_type_names column, but this is not always present in each value,

The attribute resource_type_names does not exist on <Namespace: {'display_name': u'Common Image Properties', 'description': u'When adding an image to Glance, you may specify some common image properties that may prove useful to consumers of your image.', 'created_at': u'2015-02-10T16:01:06Z', 'namespace': u'OS::Glance::CommonImageProperties', 'visibility': u'private', 'protected': True}>.

Changed in horizon:
assignee: nobody → Rob Cresswell (robcresswell)
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/154974

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/154974
Committed: https://git.openstack.org/cgit/openstack/horizon/commit/?id=1e57a78da71ed4b264044fffa2603145142bb882
Submitter: Jenkins
Branch: master

commit 1e57a78da71ed4b264044fffa2603145142bb882
Author: Rob Cresswell <email address hidden>
Date: Wed Feb 11 17:35:30 2015 +0000

    Adds default for resource_type_names in metadata

    This patch makes the resource_type_names default safely to an empty
    dict, rather than being error handled by the table

    Change-Id: Ic327b646e2db44375aad129139b355a9be44f126
    Closes-Bug: 1420890

Changed in horizon:
status: In Progress → Fix Committed
Akihiro Motoki (amotoki)
Changed in horizon:
importance: Undecided → High
milestone: none → kilo-3
Thierry Carrez (ttx)
Changed in horizon:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in horizon:
milestone: kilo-3 → 2015.1.0
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.