You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the Bug
The following sequence leads to the problem for code running in a browser:
connect to a convergence domain D
open model M
disturb network (i.e. disconnect browser from network)
meanwhile a backend job deletes model M (like a garbage collector)
reconnect browser to network
convergence frontend in browser reconnects to domain D successfully (thank you for the fix in reconnect() doesn't work #256 )
model M pretends to be functioning perfectly and shows to be online, no "DELETED" event is submitted, any operation is working without error
except that the model doesn't exist in the backend any more and any change from the frontend is lost !
Step To Reproduce
This needs some infrastructure to simulate - please get in touch if you need help reproducing it - I'm happy to help you.
Expected Behavior model.on(RealTimeModel.Events.DELETED, (event => { alert("The model was deleted by the backend."); // do some recovery stuff }));
should be called. Or ANY other error should be thrown, so that the situation can be handled gracefully.
The text was updated successfully, but these errors were encountered:
Versions
Describe the Bug
The following sequence leads to the problem for code running in a browser:
Step To Reproduce
This needs some infrastructure to simulate - please get in touch if you need help reproducing it - I'm happy to help you.
Expected Behavior
model.on(RealTimeModel.Events.DELETED, (event => { alert("The model was deleted by the backend."); // do some recovery stuff }));
should be called. Or ANY other error should be thrown, so that the situation can be handled gracefully.
The text was updated successfully, but these errors were encountered: