Long Story Short
Viewers can't close a study containing e.g. a jupyterlab-math successfully.
Expected Behavior
Viewers can view a study and go back to the dashboard. Going back to the dashboard shouldn't trigger any save operation.
Actual behaviour
When a viewer closes a study containing e.g. a jupyterlab-math it stays in closing state forever.
In the dy-sidecar we have this error:
Task simcore_service_dynamic_sidecar.modules.long_running_tasks.task_save_state.5be177ad-0bf8-49eb-b2ba-63e4df32d10e finished with exception: 'Insufficient access rights to write 20361db0-6997-11ed-adc2-02420a0b2082/1834bcea-791f-4346-994c-8876816fe3bc/workspace.zip'
Steps to reproduce
Create a study with a recent jupyter-math (e.g. version 2.0.8)
Share it with a collaborator and assign him the "Viewer" role
The viewer opens the study, optionally do something
The viewer goes back to the dashboard -> the study stays closing forever.
Environment
osparc.io
Additional context
According to @odeimaiz, this should be better handled at the backend side: e.g. catching this Insufficient access rights error and close it.
@elisabettai could you please confirm this. I think it is no longer the case! I cannot reproduce it on master any longer.
If so please close this case.
Long Story Short Viewers can't close a study containing e.g. a jupyterlab-math successfully.
Expected Behavior Viewers can view a study and go back to the dashboard. Going back to the dashboard shouldn't trigger any save operation.
Actual behaviour When a viewer closes a study containing e.g. a jupyterlab-math it stays in closing state forever. In the dy-sidecar we have this error:
Task simcore_service_dynamic_sidecar.modules.long_running_tasks.task_save_state.5be177ad-0bf8-49eb-b2ba-63e4df32d10e finished with exception: 'Insufficient access rights to write 20361db0-6997-11ed-adc2-02420a0b2082/1834bcea-791f-4346-994c-8876816fe3bc/workspace.zip'
Steps to reproduce
Environment osparc.io
Additional context According to @odeimaiz, this should be better handled at the backend side: e.g. catching this
Insufficient access rights
error and close it.