jsonutils to_primitive needs iteritems on passed object

Bug #1481377 reported by Endre Karlson
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Designate
Fix Released
High
Endre Karlson

Bug Description

If there is no presence of a iteritems() it will not be parsed as a dict and you will get a list of lists instead.

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

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

Changed in designate:
assignee: nobody → Endre Karlson (endre-karlson)
status: New → In Progress
Changed in designate:
milestone: none → liberty-3
importance: Undecided → High
status: In Progress → Incomplete
status: Incomplete → Triaged
status: Triaged → Confirmed
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to designate (master)

Reviewed: https://review.openstack.org/209098
Committed: https://git.openstack.org/cgit/openstack/designate/commit/?id=4fb0e915ba17467cb1bbb214d93bc2fb9b505518
Submitter: Jenkins
Branch: master

commit 4fb0e915ba17467cb1bbb214d93bc2fb9b505518
Author: Endre Karlson <email address hidden>
Date: Tue Aug 4 16:30:00 2015 +0200

    Add a iteritems = items on DictObjectMixin

    Also add tests that the results from jsonutils.to_primitive is correct for
    objects of DictObjectMixin origins.

    Closes-Bug: 1481377

    Change-Id: I80386f18b787384af079b97fdd83abd0d017dcc1

Changed in designate:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in designate:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in designate:
milestone: liberty-3 → 1.0.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.