Object obj_extra_fields not properly used

Bug #1429889 reported by Thang Pham
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cinder
Fix Released
Undecided
Thang Pham

Bug Description

Fields that are not part of the Snapshot model, i.e. name and volume_name, should be specified in obj_extra_fields in the object.

Thang Pham (thang-pham)
Changed in cinder:
assignee: nobody → Thang Pham (thang-pham)
Changed in cinder:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to cinder (master)

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

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to cinder (master)

Reviewed: https://review.openstack.org/165214
Committed: https://git.openstack.org/cgit/openstack/cinder/commit/?id=2d7d86fccd0923ac17f55431cf756f980a5abc9c
Submitter: Jenkins
Branch: master

commit 2d7d86fccd0923ac17f55431cf756f980a5abc9c
Author: Thang Pham <email address hidden>
Date: Tue Mar 17 10:24:08 2015 -0400

    Properly use obj_extra_fields in objects

    The following patch fixes a bug in the snapshot object,
    where fields that are not part of the Snapshot model,
    i.e. name and volume_name, were not specified as
    obj_extra_fields in the object. It also fixes the same
    problem in the volume object, i.e. name and name_id.
    With this patch, those extra fields are properly loaded,
    e.g. snapshot.volume_name or volume.name.

    Change-Id: Ie2b8dc66c897f89f941e9ad3b80ec4f4ab346430
    Closes-Bug: #1429889

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