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
When deleting a model offline, we properly delete the model in the offline store, but do not check if we are online or not, and then try to delete the model at the server which throws an exception.
main-app.js:114 TypeError: Cannot read property 'request' of undefined
at ConvergenceConnection.request (ConvergenceConnection.ts:217)
at ModelService._removeOnline (ModelService.ts:1216)
at ModelService.<anonymous> (ModelService.ts:595)
at Generator.next (<anonymous>)
at fulfilled (OfflineModelSyncCompletedEvent.ts:25)
We need to check if we are online before trying to call the server.
The text was updated successfully, but these errors were encountered:
Versions
Please fill in all that apply:
Describe the Bug
When deleting a model offline, we properly delete the model in the offline store, but do not check if we are online or not, and then try to delete the model at the server which throws an exception.
We need to check if we are online before trying to call the server.
The text was updated successfully, but these errors were encountered: