Object string attributes should support unicode

Bug #1221346 reported by Dan Smith
26
This bug affects 5 people
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
High
Dan Smith

Bug Description

All of our objects use bare strings, which means unicode values are not permitted, although they should be. LP#1218719 is related, and the "fix" for it was incomplete and didn't address the underlying problem.

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

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

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

Reviewed: https://review.openstack.org/45298
Committed: http://github.com/openstack/nova/commit/61bedc9aa04b0bac21e5c4bd17d6d2c09e2d9e01
Submitter: Jenkins
Branch: master

commit 61bedc9aa04b0bac21e5c4bd17d6d2c09e2d9e01
Author: Dan Smith <email address hidden>
Date: Thu Sep 12 13:40:57 2013 -0700

    Fix non-unicode string values on objects

    Originally, all of the objects used str() to specify string type
    attributes. This prevents the use of unicode values. A previous
    patch errantly updated the utility function without bumping all
    of the affected objects' versions. This does that, and also
    fixes the issue for bare str() attributes.

    Change-Id: Iad83589d399309b95c32813a1a660a12e571066b
    Closes-bug: 1221346

Changed in nova:
status: In Progress → Fix Committed
Revision history for this message
Dan Smith (danms) wrote :

The fix for this got partially broken during a rebase. Patch coming soon.

Changed in nova:
status: Fix Committed → In Progress
Revision history for this message
Thierry Carrez (ttx) wrote :
Changed in nova:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in nova:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in nova:
milestone: havana-rc1 → 2013.2
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.