Skip to content

Bug: TrackedRecordCollection.Remove() and Clear() offer backdoor to enforceBusinessLogic #79

@JeremyCaney

Description

@JeremyCaney

Currently, attempting to insert or set a TrackedRecord<T> ensures that any business logic is enforced. This is not done, however, when calling Remove() or Clear(). This is important not only because the business logic might prevent a value being reset to null, but also because removing a value might require updating the state of the Topic. This is a rare scenario, and it's unlikely to be a major issue—but it should be easy to fix with the TopicPropertyDispatcher, and there's no reason not to lock this backdoor.

Metadata

Metadata

Assignees

Labels

Area: EntityRelates to the core data data structure for modeling topic entities.Priority: 3Severity 1: MinorStatus 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