XML deserialization does not properly handle integers
Bug #818960 reported by
dan wendlandt
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Invalid
|
Undecided
|
Tyler Smith |
Bug Description
The XML deserialization code deserializes everything to a python string, while the JSON code will properly deserialize an integer to a python integer. This leads to inconsistent behavior if API objects contain integers.
Related to bug #818321, but we are using that bug to track the D3 action, which was to remove the code triggering the problem. This bug is to track actual changes to the API code to fix the problem.
Changed in quantum: | |
assignee: | nobody → Tyler Smith (tylesmit) |
status: | New → In Progress |
Changed in quantum: | |
status: | In Progress → Invalid |
To post a comment you must log in.
I'd be more than happy to take this bug if nobody else is clamoring for it. Which of the two routes mentioned in bug #818321 is preferred? Force everything to str, or force all ints to ints and the rest strings?