Skip to content

Mapping Service Bug Fixes #134

Open
Open

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

Activity

  1. added this to the OnTopic 6.0.0 milestone on Jul 26, 2026
  2. added theissue type on Jul 26, 2026
  3. added
    Type: BugBehavior that is inconsistent with documented or expected behavior.
    Area: MappingRelates to one of the `ITopicMappingService` interfaces or implementations.
    on Jul 26, 2026
  4. self-assigned this
    on Jul 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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