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
ConvergenceServerError: the requested model was not open
at ProtocolConnection._onReply (/Users/michael/development/convergence/client/convergence-client-javascript/src/main/connection/ProtocolConnection.ts:300:11)
at ProtocolConnection._onSocketMessage (/Users/michael/development/convergence/client/convergence-client-javascript/src/main/connection/ProtocolConnection.ts:242:12)
at /Users/michael/development/convergence/client/convergence-client-javascript/src/main/connection/ProtocolConnection.ts:97:12
at SafeSubscriber._next (/Users/michael/development/convergence/client/convergence-client-javascript/src/main/util/ConvergenceEventEmitter.ts:108:11)
at SafeSubscriber.__tryOrUnsub (/Users/michael/development/convergence/client/convergence-client-javascript/node_modules/rxjs/src/internal/Subscriber.ts:265:10)
at SafeSubscriber.next (/Users/michael/development/convergence/client/convergence-client-javascript/node_modules/rxjs/src/internal/Subscriber.ts:207:14)
at Subscriber._next (/Users/michael/development/convergence/client/convergence-client-javascript/node_modules/rxjs/src/internal/Subscriber.ts:139:22)
at Subscriber.next (/Users/michael/development/convergence/client/convergence-client-javascript/node_modules/rxjs/src/internal/Subscriber.ts:99:12)
at FilterSubscriber._next (/Users/michael/development/convergence/client/convergence-client-javascript/node_modules/rxjs/src/internal/operators/filter.ts:101:24)
at FilterSubscriber.Subscriber.next (/Users/michael/development/convergence/client/convergence-client-javascript/node_modules/rxjs/src/internal/Subscriber.ts:99:12) {
_code: 'model_not_open',
_details: undefined
}
We need to wait until after the resync happens if it is in progress, to do the delete. If it is not in progress yet, we could just delete it, but then we need to remove it from the queue.
Right now, we delete the model that is in progress, which triggers it to delete itself locally, which then tries to initiate a close at the server. We should also investigate if that method needs to be smarter to detect that it is resyncing, and thus doesn't need to initiate a close with the server.
Expected Behavior
An error should not be thrown.
The text was updated successfully, but these errors were encountered:
Versions
Describe the Bug
We need to wait until after the resync happens if it is in progress, to do the delete. If it is not in progress yet, we could just delete it, but then we need to remove it from the queue.
Right now, we delete the model that is in progress, which triggers it to delete itself locally, which then tries to initiate a close at the server. We should also investigate if that method needs to be smarter to detect that it is resyncing, and thus doesn't need to initiate a close with the server.
Expected Behavior
An error should not be thrown.
The text was updated successfully, but these errors were encountered: