ocadotechnology / rapid-router

A Blockly and python based educational game aimed at students age 5-14.
https://www.codeforlife.education
Other
56 stars 62 forks source link

Saving feature is broken #1573

Closed faucomte97 closed 4 months ago

faucomte97 commented 5 months ago

Describe the bug The saving feature in the Rapid Router levels is broken. Users can no longer save a workspace (program) for later use. This is quite disruptive as it seems to be a highly used feature.

To Reproduce Steps to reproduce the behaviour:

  1. Login as any user.
  2. Go to any Rapid Router level.
  3. Make a program by attaching any blocks to the Start block.
  4. Open the "Save" tab, enter a name for your workspace and click "Save".
  5. Notice that you get an error message and the saving fails.

Expected behaviour The workspace should successfully be saved and added to the lists of workspaces that you can then load using the Load tab.

Screenshots Screenshot from 2024-01-18 17-25-10

Additional context There are a few errors that could be a good place to start understanding why this is happening:

Analysis of the Python exception stack trace seems to indicate that this bug might have been introduce by this commit.

AbdelrahmanDeghedy commented 5 months ago

I want the credentials that allow me to login inside the dev server

lauracumming commented 5 months ago

Looks good