You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Bug: Data-subject request dialog hides a failed subject-member read as “No matching members” #3857
Data-subject request dialog hides a failed subject-member read as “No matching members”
Impact
An administrator filing a GDPR erasure request can see an empty subject picker when the organization-member read has failed. The dialog gives no indication that the subject directory is unavailable and no retry action; a valid erasure request cannot be targeted, while the empty copy suggests there simply are no matching members.
Reproduction
Open Governance → Data subject requests → File erasure request.
Let governance/legal_hold_queries:listOrgMembersForPicker settle with HTTP 503 after loading ends.
Open the Subject picker.
Actual result: the picker shows “No matching members.” with no alert, failed-read label, or Retry/Try again/Reload action.
Expected result: distinguish an unavailable subject directory from a successful empty result, show a read-error state with Retry, and keep submission unavailable until a real member list is available.
Root cause and scope
At current origin 9ea59724df24d62729a9360f3902d964dab39b3e:
services/platform/app/features/settings/governance/data-subject-requests/file-request-dialog.tsx:60-70 maps only (members.data ?? []) into memberOptions.
The SearchableSelect at :184-204 receives no members.isLoading, isError, error, or refetch; the normal emptyText is always used when data is unavailable.
useOrgMembersForErasurePicker exposes the backend query state, but the dialog discards it.
Probe assertion: one Vitest test passed with member query data: undefined, isLoading:false, isError:true; Subject picker showed normal empty copy without alert/retry.
Activity