Save online updates the wrong score when switching tabs during upload
Description
The 'source' tag in the 2nd score is replaced/updated with the one from the 1st (the "Save online"ed one), and then on "Save online"ing that 2nd it updates/overwrites the 1st.
How to reproduce
1) Open 2 scores in MuseScore 2.2.1 (possibly earlier)
2) Save the 1st one online
3) While saving is in progress, switch to the 2nd score
4) The 2nd score is updated with the 1st one's source URL
5) When saving the 2nd score, it shows the score information of the 1st andwill overwrite the 1st if you "Save".
Caveat
This happened to me once with 2.2.1.
I did not have time to test myself to see how repeatable this is, but am working off the steps reported by https://musescore.org/en/node/271712
Workaround
1) Get the URL off of musescore.com for the score that should be uploaded to (2nd score in above example)
2) File -> Score Properties -> source (paste the URL of the score and save)
As seen in
https://musescore.org/en/node/271712
Comments
Upgrade to major as this may result in losing a score.
Happened to me several times (I had backups though), but I never got round to put this into the issue tracker. Stuff like this tends to happen when being in a hurry...
I think I once encountered this too.
Just on the subject (this was in 2.3): If I change things during the Save Online upload and save, the unique part of the URL in Score Properties (source) is wiped (just says .com/ + my name).
Save online should block any interactions with UI for now to avoid such issues and more critical ones like Saving another score when the one is being saved... It is implemented in 2.3.2 and will be implemented in 3.0.
Automatically closed -- issue fixed for 2 weeks with no activity.
Hi @Anatoly-os , I am confused. I think this is still a problem. Your statement seems forward-looking ("It is implemented in 2.3.2 and will be implemented in 3.0."), yet you set it to fixed.
Was a fix implemented? If so, is there a PR to tie back to?
Can you still reproduce the issue? I can't.
I was not able to reproduce. What I do see, is
This is a different issue. Should we close? Does it make sense to raise another issue for this new behaviour? I would think, the switching of tabs should be disabled as soon as one presses Save Online.
So this issue is closed, whether or not there is another issue I'm not sure, I can't switch to the other score quick enpough before the 1st score's update dialog shows
Ok . FWIW, am on a slow computer (13yo iMac), with slow Internet. Takes 2 - 3 seconds to show the dialog. Have plenty of time to switch after pressing.