acdh-oeaw / apis-oebl-research-tool-front-end

See also https://redmine.acdh.oeaw.ac.at/issues/18296
https://oebl-research.acdh-dev.oeaw.ac.at
MIT License
0 stars 0 forks source link

Server Side Deletion Is Not Reflected On Client #46

Open sennierer opened 2 years ago

sennierer commented 2 years ago

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: