Skip to content

Include ref.parent matches in events by-reference navigation#2280

Draft
Copilot wants to merge 2 commits into
bugfix/1287-investigate-referencesfrom
copilot/fix-parent-url-navigation
Draft

Include ref.parent matches in events by-reference navigation#2280
Copilot wants to merge 2 commits into
bugfix/1287-investigate-referencesfrom
copilot/fix-parent-url-navigation

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented May 31, 2026

/events/by-ref/{referenceId} only matched reference:{id}, so clicking a Parent link failed when child events stored the relationship in ref.parent and no standalone parent event existed. This updates by-ref lookup semantics to return related events for that parent reference value in both global and project-scoped routes.

  • API query behavior

    • Updated both by-ref endpoints in EventController to search:
      • direct event reference (reference:{id})
      • parent linkage (ref.parent:{id})
    • This makes Parent navigation resolve for scope-based/client-generated parent references.
  • Regression coverage

    • Updated integration tests in EventControllerTests to assert by-ref results now include:
      • parent + children when both exist
      • children when only ref.parent links exist
      • equivalent behavior for project-scoped by-ref route
return await GetInternalAsync(
    sf,
    ti,
    $"(reference:{referenceId} OR ref.parent:{referenceId})",
    null,
    mode,
    page,
    limit,
    before,
    after
);

@CLAassistant
Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

Copilot AI linked an issue Jun 1, 2026 that may be closed by this pull request
Co-authored-by: niemyjski <1020579+niemyjski@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix navigation issue from 'Parent' URL in Exceptionless 4.1.0 Include ref.parent matches in events by-reference navigation Jun 1, 2026
Copilot AI requested a review from niemyjski June 1, 2026 00:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Exceptionless 4.1.0 cannot navigate from the 'Parent' url

3 participants