ITISFoundation / osparc-simcore

🐼 osparc-simcore simulation framework
https://osparc.io
MIT License
46 stars 27 forks source link

Two different clients can edit same study at the same time #1596

Closed ignapas closed 4 years ago

ignapas commented 4 years ago

When two different users open the same study (I reproduced it by opening the dashboard in two tabs and quickly clicking on the same study in both), the study can be edited by both users without any visible error.

This comes from the PR review https://github.com/ITISFoundation/osparc-simcore/pull/1591#pullrequestreview-441561922

A strategy is needed to avoid that situation, that can lead to inconsistent (and maybe corrupt?) studies.

sanderegg commented 4 years ago

@odeimaiz , @ignapas : yes, this is expected to happen. I still need to find a way to prevent that from happening. Also the same user can currently open the same study in several tabs which could lead to the same issues (study corruption). For this we should have yet another event to ensure the tabs are updated (i'll open another issue for this).

sanderegg commented 4 years ago

Delete of a shared project returns a 500