Skip to content
This repository has been archived by the owner on Nov 19, 2019. It is now read-only.

Current Version of a Plunk Not the Latest #39

Open
joshdmiller opened this issue Apr 27, 2013 · 5 comments
Open

Current Version of a Plunk Not the Latest #39

joshdmiller opened this issue Apr 27, 2013 · 5 comments

Comments

@joshdmiller
Copy link

Last night I created a Plunk and shared it with my comrades; today I returned to the shared link to notice that the view was not the most recent - that is, it is not what I had when I stopped working last night. It appears to be one or two saves out of date. I can identify most of the missing changes:

  • old-tooltip.js should no longer exist, but does
  • tooltip.js is missing a new directive that was defined somewhere after line 285 and lines 236-237 are missing changes
  • index.html is missing changes on lines 30, 38, and 39
  • mypopover.tpl.html should exist, but doesn't
  • app.js is missing a scope function in the controller

Here's the Plunk: http://plnkr.co/edit/RTpGfZG0cl069nkqmm14?p=history

And here's it again, whith changes re-made from memory (I created it from scratch as I think the forking might have something to do with it): http://plnkr.co/edit/JgeUP0anaU4BmsS5cJNh

This is not the first time this has happened, but I'm not sure how to troubleshoot this client-side. I'm hoping @ggoodman or others can shed some light.

Thanks!!!

@joshdmiller
Copy link
Author

Okay ... scratch that ... the updated one is missing its latest changes too!!!

With multiple successive saves, the most recent save is not taking. When I return to the Plunk later, it's just not there. I'm missing a newly-created file and changes to several other files. This is a very serious issue. I've lost quite a bit of work twice now.

Let me know what I can do to help.

Update:

I was able to catch these two errors in the console on a save request (though I still received the green success notification):

OPTIONS http://api.plnkr.co/plunks/JgeUP0anaU4BmsS5cJNh?sessid=50e7c3f37a4524c40b000141 200 (OK)
POST http://api.plnkr.co/plunks/JgeUP0anaU4BmsS5cJNh?sessid=50e7c3f37a4524c40b000141 400 (Bad Request) 

And the payload was:

{"message":"Invalidpayload","invalid":"JSONobjectproperty'files.mypopover.tpl.html'isnotexplicitlydefinedandthereforenotallowed"}

I made an irrelevant change (whitespace) and hit save again: this time, I got the same success notification bubble, but no error in the console.

But the save still didn't take.

@ggoodman
Copy link
Member

Hi Josh,

That is the worst kind of bug (loss of work). I'm really sorry that that
happened to you.

I think that I've found what might have caused the issue, but I cannot
really be sure.

Keep an eye out for saving not showing the green confirmation message.
Also, if you go into the editor and the restore box is there, that is a
sign that your last save didn't work.

I will keep investigating.

Geoff

On Sat, Apr 27, 2013 at 4:11 PM, Josh D Miller [email protected]:

Okay ... scratch that ... the updated one is missing its latest changes
too!!!

With multiple successive saves, the most recent save is not taking. When I
return to the Plunk later, it's just not there. I'm missing a newly-created
file and changes to several other files. This is a very serious issue. I've
lost quite a bit of work twice now.

Let me know what I can do to help.


Reply to this email directly or view it on GitHubhttps://github.com//issues/39#issuecomment-17122567
.

@doray10000
Copy link

Sir,
What happen to all my work in plunks? All my plunks were lost, and it changed all my plunks to different plunks that are not my work, I hope you could do something here. Please help me to restore all my plunks.Please do something. thanks.

@ggoodman
Copy link
Member

Hi @doray10000 none of you work should be lost if it was previously saved. I see that you have a number of private plunks.

Please try logging out and logging back in to Plunker and contact me if your private plunks are still missing.

There is no reason that your plunks should have changed to a different version if you previously saved a newer version.

@doray10000
Copy link

Sir,
Thank you very much for fast reply, all my plunks were restored this morning ! +1: , I thought last night to back up my my important plunks, coz im using this plunker software to get started in angular js. and for me this is one of the best code editor online. God Bless.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants