Skip to content

Deleting a user causes the org members page to stop loading #99018

@DragoonAethis

Description

@DragoonAethis

Environment

Self-hosted

Steps to Reproduce

  1. Create a user and join an organization (let's say org-name).
  2. Open /settings/org-name/members/ to verify the page still opens
  3. On /manage/users/ delete the user that just joined the org
  4. Open /settings/org-name/members/ again.

Expected Result

The org members page shows up.

Actual Result

The org members page fails to load:

Image

In the Firefox console one can see:

TypeError: can't access property "id", e is null
    Ember 2
    React 3
vendors-node_modules_pnpm_platformicons_8_0_9_react_19_1_0_node_modules_platformicons_svg_HTM-80014a.3b7bcf96eb9f6cd1.js:15:202172
    n console.ts:39
    React 199

TypeError: can't access property "id", e is null
    Ember 2
    React 3
Caused by: React ErrorBoundary Error: can't access property "id", e is null
    e_ Ember
    Suspense unknown:0
    g lazyLoad.tsx:64
    l lazyLoad.tsx:35
    e errorHandler.tsx:11
    C hooks.tsx:658
vendors-node_modules_pnpm_platformicons_8_0_9_react_19_1_0_node_modules_platformicons_svg_HTM-80014a.3b7bcf96eb9f6cd1.js:15:202172
    n console.ts:39
    componentDidCatch lazyLoad.tsx:107
    React 198

In the network inspector, /api/0/organizations/org-name/members/ returns details for all valid members and nulls for the deleted users:

Image

Product Area

Settings - Members

Link

No response

DSN

No response

Version

25.8.0

Metadata

Metadata

Assignees

No one assigned

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions