Skip to content

Mapping Service Bug Fixes #134

Description

@JeremyCaney

A deep audit of the existing logic identified a number of bugs related to the topic mapping services. These are grouped together here for serial resolution.

Tasks

  • Deleted nested topics aren't just removed from memory, but persisted (ReverseTopicMappingService.PopulateTargetCollectionAsync())
  • New nested children need their Parent set correctly (ReverseTopicMappingService.PopulateTargetCollectionAsync())
  • Relationships should be validated before the existing relationship set is cleared, so a miss doesn't wipe good data (ReverseTopicMappingService.SetRelationships)
  • Mapping to a mismatched content type should throw a typed MappingModelValidationException instead of a raw cast failure (ReverseTopicMappingService.MapAsync<T>)
  • Update the navigation menu cache key so requests with different depth, payload settings don't collide (CachedHierarchicalTopicMappingService<T>)
  • Create unit tests to validate the above logic

Metadata

Metadata

Assignees

Labels

Area: MappingRelates to one of the `ITopicMappingService` interfaces or implementations.Priority: 1Severity 2: MajorStatus 2: ScheduledPlanned for an upcoming release.Type: BugBehavior that is inconsistent with documented or expected behavior.

Type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions