Skip to content

Changes to projects you don't own show up at original project URL #1001

@floehopper

Description

@floehopper

Steps to reproduce:

  1. Login
  2. Visit a project you do not own (e.g. https://editor.raspberrypi.org/en/projects/hello-world-starter)
  3. Edit the code
  4. Save the project (thus remixing it)
  5. Visit the original project URL again (i.e. https://editor.raspberrypi.org/en/projects/hello-world-starter)
  6. See your changes in the code when you should see the original version of the code
Screen.Recording.2024-05-08.at.11.14.52.mov

This is happening because after step 3 the auto-save functionality stores the project (with your code changes) in local storage against the original project identifier. When the project is saved, the remixed version is created in the database, but the cached version is left in local storage. When you re-visit the original project URL, the project cached in local storage is loaded, because the URL path matches the local storage key, i.e. the original project identifier.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions