incorrect parent_type definition in artifacttype
Bug #1597444 reported by
xiaodong shang
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
TOSCA Parser |
New
|
Undecided
|
xiaodong shang |
Bug Description
artifacttypewhich is derived from statefulentity defines parent_type, but it's value shall be artifacttype object, not a string, so the method of is_derived_from in artifact entity may be error currently.
@property
def parent_type(self):
''Return an artifact this artifact is derived from.'''
return self.derived_
parent_type shall return ArtifactType object.
Changed in tosca-parser: | |
assignee: | nobody → shangxdy (shangxdy) |
To post a comment you must log in.
@shangxdy, to me there is no point in opening individual bugs for every type. Thanks for the bug report but just to keep reviews simple and faster if a problem is reported to a specific thing e.g. parent_type in different types can you please just compiled them into a single bug and fix, unless it involves any complexities which I guess not the case in this kind of bugs? Thanks!