scratchfoundation / scratch-gui

Graphical User Interface for creating and running Scratch 3.0 projects.
https://scratchfoundation.github.io/scratch-gui/develop/
BSD 3-Clause "New" or "Revised" License
4.48k stars 3.59k forks source link

Cloud variables reset to the saved value when opened on copied projects #4381

Open BryceLTaylor opened 5 years ago

BryceLTaylor commented 5 years ago

Expected Behavior

When you open a project with cloud variables it pulls in the current value of that variable from the server.

Actual Behavior

In a copied project, whenever you open the project the value of the cloud variable is set to whatever its value was when last saved. It should update to the current value in the cloud data server.

Steps to Reproduce

Steps come from Scratch User Viator-Eno: 1) there is a project using cloud variables. 2) make a copy of this project. 3) check the saving of data to cloud variables in the copied project, reload the project. 4) after the project is reloaded, the values ​​of cloud variables are resets. Cloud Variables in this project will work normally only after their re-creation.

Operating System and Browser

Mac Chrome Mac Safari

ArnoHue commented 5 years ago

In Scratch 2.0 we had the same behavior BTW - cloud project remixes required recreation of all cloud variables. It would really be nice to get that fixed.

thisandagain commented 5 years ago

/cc @rschamp @colbygk