'obj_from_primitive' of embedded objects is not used
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
oslo.versionedobjects |
Won't Fix
|
Medium
|
Stephen Finucane |
Bug Description
Consider the following objects:
@obj_base.
class Bar(obj_
fields = {
'id': fields.
'name': fields.
}
@classmethod
def obj_from_
# do something...
return super()
@obj_base.
class Foo(obj_
fields = {
'name': fields.
'bar': fields.
}
If you deserialize and reserialize an instance of 'Foo', you'll note the 'obj_from_
[1] https:/
Changed in oslo.versionedobjects: | |
assignee: | nobody → Stephen Finucane (stephenfinucane) |
status: | New → In Progress |
Changed in oslo.versionedobjects: | |
importance: | Undecided → Medium |
Change abandoned by Stephen Finucane (<email address hidden>) on branch: master /review. opendev. org/718345
Review: https:/