Skip to content

Bug: TopicRepository.Save(): Saving a ContentTypeDescriptor does not update PermittedContentTypes #81

@JeremyCaney

Description

@JeremyCaney

If a ContentTypeDescriptor is added as a ContentTypes relationship, and then that topic is saved, then the PermittedContentTypes count should be reset to reflect the change. This is evaluated by the Save_ContentTypeDescriptor_UpdatesPermittedContentTypes unit test, which was passing, but that appears to be a false negative. If the content types are first assigned identities, the test no longer passes. It's not immediately clear why the topics being previously saved would impact this, but it calls into question whether this was ever working as expected.

Metadata

Metadata

Assignees

Labels

Area: RepositoriesRelates to the `ITopicRepository` interface or one of its implementations.Priority: 2Severity 2: MajorStatus 5: CompleteTask is considered complete, and ready for deployment.Type: BugBehavior that is inconsistent with documented or expected behavior.

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions