Skip to content

[Admin] Blank page when viewing deleted user #3836

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
jankeromnes opened this issue Apr 8, 2021 · 4 comments
Open

[Admin] Blank page when viewing deleted user #3836

jankeromnes opened this issue Apr 8, 2021 · 4 comments

Comments

@jankeromnes
Copy link
Contributor

Bug description

When visiting /admin/users/<ID-of-a-deleted-user>, the page is full blank.

The browser console says:

Error: No identity with primary email for user: <ID>!         UserSearch.tsx:36:37

Steps to reproduce

  • Open a deleted user in the admin panel

Expected behavior

It should load the app's shell (menu etc), and show that this user was deleted (e.g. before it showed values like "deletedName", "deletedEmail" etc).

Example repository

No response

@gtsiolis
Copy link
Contributor

Re-posting from the relevant discussion (internal):

George: Do we keep ANY data to our database after the user has been deleted? Surfacing explicitly that the user has been deleted would require us to store some data for this and could introduce some privacy issues, right? Alternatively, redirecting to the admin area with an alert component that mentions that user does not exist could be optimal but I could be wrong.

@stale
Copy link

stale bot commented Sep 16, 2021

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the meta: stale This issue/PR is stale and will be closed soon label Sep 16, 2021
@gtsiolis
Copy link
Contributor

Still an issue. Adding never-stale label.

@stale stale bot removed the meta: stale This issue/PR is stale and will be closed soon label Sep 16, 2021
@gtsiolis gtsiolis added meta: never-stale This issue can never become stale meta: stale This issue/PR is stale and will be closed soon labels Sep 16, 2021
@stale stale bot removed the meta: stale This issue/PR is stale and will be closed soon label Sep 16, 2021
@Devansu-Yadav
Copy link
Contributor

Devansu-Yadav commented Feb 17, 2023

@jankeromnes @gtsiolis If this issue is still prevalent, could I help fix this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants