Save online updates the wrong score when switching tabs during upload

• Jul 1, 2018 - 08:35
Reported version
3.4
Priority
P2 - Medium
Type
Functional
Severity
S4 - Minor
Status
closed
Regression
No
Workaround
No
Project

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

Severity S4 - Minor S3 - Major

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).

Severity S3 - Major S4 - Minor
Status active fixed
Priority P2 - Medium
Regression No
Workaround No

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.

Status closed active
Reported version 2.2 3.4

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?

I was not able to reproduce. What I do see, is

  • Score_1 active, press Save Online
  • Before the "Score Information" dialog pops up, click on Score_2.
  • When "Score Information" pops up, It asks you about updating Score_2, instead of Score_1, and proceeds to save Score_2 as Score_2. The cross-save / overwrite behaviour is no longer there.

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.

Status needs info closed

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