rust-playground icon indicating copy to clipboard operation
rust-playground copied to clipboard

Updating code doesn't update share links

Open arora-aman opened this issue 4 years ago • 3 comments

How to reproduce:

  • Write some code
  • Create share links
  • Update code
  • Get/Create share links

Current behavior: The second time i get the links to share my code, I get the original links back and the code available at those links is same as before.

Expected behavior: The second time I get links to share the code, I get an updated link or the code available at the original links is update. Favor the former.

arora-aman avatar Jul 02 '20 05:07 arora-aman

I cannot reproduce

links

shepmaster avatar Jul 10 '20 00:07 shepmaster

i just realised that the issue is localized to when you're working on an existing playgorund link. Eg: https://play.rust-lang.org/?version=stable&mode=debug&edition=2018&gist=5fa48975469cbd5b191deca67b63fd50

So basically when trying to make changes to what someone shared with me or if I have from the past and want to modify the contents.

screen_grab

arora-aman avatar Jul 10 '20 01:07 arora-aman

The share links are also not updated when changing the version.

wooster0 avatar Apr 03 '21 12:04 wooster0