Use existing Metadef{type}NotFound Exceptions instead of MetadefRecordNotFound

Bug #1367650 reported by Wayne
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Glance
Fix Released
Low
Wayne

Bug Description

Currently, when metadef namespaces, objects or properties are not found by ID a general MetadefRecordNotFound exception is thrown. It is better use the existing MetadefNamespace/Object/PropertyNotFound Exceptions instead of the too general MetadefRecordNotFound exception.

Wayne (wayne-okuma)
Changed in glance:
assignee: nobody → Wayne (wayne-okuma)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to glance (master)

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

Changed in glance:
status: New → In Progress
Wayne (wayne-okuma)
tags: added: glance metadef
Dolph Mathews (dolph)
tags: removed: glance
Changed in glance:
importance: Undecided → Low
Thierry Carrez (ttx)
tags: added: juno-rc-potential
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to glance (master)

Reviewed: https://review.openstack.org/120355
Committed: https://git.openstack.org/cgit/openstack/glance/commit/?id=86657d9a150ad5e0e5340c4657c0725bd6910e26
Submitter: Jenkins
Branch: master

commit 86657d9a150ad5e0e5340c4657c0725bd6910e26
Author: Wayne Okuma <email address hidden>
Date: Tue Sep 9 22:30:39 2014 -0700

    Use specific exceptions instead of the general MetadefRecordNotFound

    Currently, when metadef namespaces, objects or properties are not found
    by ID, a general MetadefRecordNotFound exception is raised. Instead,
    just use the specific MetadefNamespaceNotFound, MetadefObjectNotFound or
    MetadefPropertyNotFound exceptions.

    Change-Id: Icb6bf543015305174720f2fd950f5e4984f39798
    Closes-Bug: 1367650

Changed in glance:
status: In Progress → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to glance (proposed/juno)

Fix proposed to branch: proposed/juno
Review: https://review.openstack.org/127308

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on glance (proposed/juno)

Change abandoned by Thierry Carrez (<email address hidden>) on branch: proposed/juno
Review: https://review.openstack.org/127308
Reason: 2014.2 released

Thierry Carrez (ttx)
tags: added: juno-backport-potential
removed: juno-rc-potential
Thierry Carrez (ttx)
Changed in glance:
milestone: none → kilo-1
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in glance:
milestone: kilo-1 → 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.