Bug: ContentTypeDescriptor.IsTypeOf()
always returns true
#55
Labels
Area: Entity
Relates to the core data data structure for modeling topic entities.
Priority: 2
Severity 1: Minor
Status 5: Complete
Task is considered complete, and ready for deployment.
Type: Bug
Behavior that is inconsistent with documented or expected behavior.
Milestone
The
ContentTypeDescriptor.IsTypeOf()
method allows a caller to determine if a content type inherits from another content type in the topic tree. It will returntrue
if an ascendantContentTypeDescriptor
has aKey
matching the suppliedcontentTypeName
. If not, however, it is also defaulting totrue
. This makes the method effectively useless. Fortunately, this method is rarely used—but if it is, it isn't working as expected.The text was updated successfully, but these errors were encountered: