Skip to content

Agent Merge crashes when merging an Agent that is a GroupPerson member #7656

@bhumikaguptaa

Description

@bhumikaguptaa

Describe the bug

When a user attempts to merge an Agent that is listed as a member of a Group Agent (linked via Groupperson.member), the merge fails with a crash 500 error.

To Reproduce
Steps to reproduce the behavior:

  1. Go to Agent that is currently a member of group agent.
  2. Try and merge two agents (one of which is a group agent)
  3. See error

Expected behavior

The merge tool should automatically re-link the GroupPerson entry to the new Target Agent. Alternatively, the table GroupPerson should be updated automatically during the merge.

Crash Report

Merging 677e9ed2-005e-41a2-9508-85ae7ac70fbd Crash Report - 2026-01-15T14_09_31.006Z.txt

Please fill out the following information manually:

Reported By
Alexi Beck, Geneve, https://specifysoftware.bolddesk.com/agent/tickets/508

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    Status

    📋 Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions