Skip to content
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

404 Error when deleting an entity #7355

Open
1 of 2 tasks
salvalacruz opened this issue Oct 14, 2024 · 2 comments
Open
1 of 2 tasks

404 Error when deleting an entity #7355

salvalacruz opened this issue Oct 14, 2024 · 2 comments
Labels

Comments

@salvalacruz
Copy link

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

  1. Select an entity and click on 'View'.
  2. Click on 'Delete' and confirm.
  3. See error: The entity is still in the card view and the side panel.
  4. See error: if you try to view the deleted entuty, you get a 404 error.

Expected behavior
Once an entity is deleted, screen should come back to card view, but the deleted entity must not appear.

Screenshots
image
image

Device (please select all that apply)

  • Desktop
  • Mobile

Browser
Brave

@RafaPolit
Copy link
Member

This is more or less expected. Library is loading from Elastic Search, which can take from a second to up to even minutes to reflect these deletions. We cannot be sure when the entity would get deleted from the index and therefore this presents problems.

We could mitigate the problem by "disabling" the card on the library and rendering it gray, almost like a ghost, and prevent interaction with the buttons. But if the user refreshes it could reappear as the entity is still indexed.

We will discuss this on the product call from a tech and UX perspective as to how to communicate this better.

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

No branches or pull requests

3 participants
@RafaPolit @salvalacruz and others