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

Cleanup worker cache on delete #2718

Merged

Conversation

bastianjoel
Copy link
Member

resolves #2497

The worker will now be notified if the client deletes models from the modelstore and will delete them within its internal state too.
Note that in order to test properly this the shared worker needs to be enabled.

This PR could have some side effects especially if there are misconfigured entries in relations.ts or other bugs that result in models being accidentally deleted.

@luisa-beerboom luisa-beerboom removed their assignment Aug 29, 2023
@Elblinator
Copy link
Member

If you delete a topic in topic detail, then the topic still only disappears with a reload or when you go into the detail view of this deleted topic again. But that is a different bug, created at a different place

@Elblinator Elblinator requested review from Elblinator and removed request for emanuelschuetze August 30, 2023 12:57
@Elblinator
Copy link
Member

the additional problem is now in #2731

@Elblinator Elblinator merged commit f135e6d into OpenSlides:main Aug 31, 2023
@bastianjoel bastianjoel deleted the 2497-cleanup-worker-au-cache branch August 31, 2023 09:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Deleted agenda items are still displayed in list when navigation back
4 participants