Skip to content
This repository has been archived by the owner on Jun 8, 2024. It is now read-only.

Server Side Deletion Is Not Reflected On Client #46

Open
sennierer opened this issue Mar 29, 2022 · 0 comments
Open

Server Side Deletion Is Not Reflected On Client #46

sennierer opened this issue Mar 29, 2022 · 0 comments
Labels
backlog bug Something isn't working

Comments

@sennierer
Copy link
Collaborator

In GitLab by @PhilipRoeggla on Mar 29, 2022, 09:45

If I delete lemmas via django (shell), the lemmas still get shown on the front end, since they are loaded from the cache, either IndexedDB or IndexedDB and local storage. If one of the zombie lemmas gets edited in the editor, this leads to an 404 Not Found response. The UX shows a non descriptive error message "Serverfehler. Details in der Console." and does not remove the item.

I guess desired behavior is:

  • On first load remove deleted lemmas from cache.
  • If a lemma is not found on edit:
    • Ask if delete
    • or create a new one with that data
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
backlog bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant