jsonutils.dump inconsistency for namedtuple

Bug #1356173 reported by YAMAMOTO Takashi
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
oslo-incubator
Fix Released
High
YAMAMOTO Takashi

Bug Description

jsonutils.dumps(namedtuple) produces different results for json and simplejson.

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

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

Changed in oslo:
assignee: nobody → YAMAMOTO Takashi (yamamoto)
status: New → In Progress
Ben Nemec (bnemec)
Changed in oslo:
importance: Undecided → High
tags: added: serialization
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to oslo.serialization (master)

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

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

Reviewed: https://review.openstack.org/113973
Committed: https://git.openstack.org/cgit/openstack/oslo.serialization/commit/?id=c5b869462f9b1d1a56dd98cd66c7b5f4238334ae
Submitter: Jenkins
Branch: master

commit c5b869462f9b1d1a56dd98cd66c7b5f4238334ae
Author: YAMAMOTO Takashi <email address hidden>
Date: Thu Aug 14 02:18:19 2014 +0900

    Specify namedtuple_as_object=False when using simplejson

    This makes namedtuple serialization consistent with non simplejson case.

    Closes-Bug: #1356173
    Change-Id: I9dd879914c7cb226c71e856914536318b416e488

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

Reviewed: https://review.openstack.org/113760
Committed: https://git.openstack.org/cgit/openstack/oslo-incubator/commit/?id=ad248f6658d572f3f4721f804325db754e9c931d
Submitter: Jenkins
Branch: master

commit ad248f6658d572f3f4721f804325db754e9c931d
Author: YAMAMOTO Takashi <email address hidden>
Date: Wed Aug 13 11:53:42 2014 +0900

    Specify namedtuple_as_object=False when using simplejson

    This makes namedtuple serialization consistent with non simplejson case.

    Closes-Bug: #1356173
    Change-Id: I360ed265e18a793fa7ccbcb340cd75fc19ad607b

Thierry Carrez (ttx)
Changed in oslo-incubator:
milestone: none → juno-3
status: Fix Committed → Fix Released
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.