-
Notifications
You must be signed in to change notification settings - Fork 5
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
Deleting the collection of an open model creates an error condition #226
Milestone
Comments
An example exception that can be produced if trying to open a model that is presently open by another session but deleted:
|
mmacfadden
changed the title
Deleting the collection of an Open model creates an error condition
Deleting the collection of an open model creates an error condition
Jun 13, 2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Versions
Describe the Bug
When a collection is deleted all of its open models are deleted in the database. However, if a model in that collection is open, the RealTimeModelActor is not notified and does not know that it's underlying data has been deleted. This can lead to a number of hard to diagnose exceptions when the model is interacted with. for example if a new user tries to open the model it will fail with a persistence error saying
Unable to get the valueIdPrefix for the model
.Step To Reproduce
test
collection.test
collectionExpected Behavior
RealTimeModels should be notified when their containing collection is deleted and be closed down. An appropriate cause should be sent to the user.
The text was updated successfully, but these errors were encountered: