Rolling back to a draft.
-
Is there anyway to rollback to a draft? I was editing, accidentally clicked a toolbar icon which navigated away from CP, and on reflex hit my "back" button on my mouse which reloaded the old pre-edit page which then triggered an auto-save. The rollback button seems to do nothing useful when it comes to drafts, and no matter what I've tried anytime I click "Update Article", even when viewing a draft, it only lets me update the newest version. I can always copy-paste the raw draft HTML and just overwrite the new version, but is this the only intended solution?
-
Is there anyway to rollback to a draft? I was editing, accidentally clicked a toolbar icon which navigated away from CP, and on reflex hit my "back" button on my mouse which reloaded the old pre-edit page which then triggered an auto-save. The rollback button seems to do nothing useful when it comes to drafts, and no matter what I've tried anytime I click "Update Article", even when viewing a draft, it only lets me update the newest version. I can always copy-paste the raw draft HTML and just overwrite the new version, but is this the only intended solution?
Thanks very much for your message. Is this the article you're working on? Type System Features[^] Just to check, did you enable "Show auto-saved drafts"? You can try rolling back to one of those. Otherwise if you send me the URL (or just the ID at the end av=6720275) I'd be happy to try and do it and see if something is busted.
Thanks, Sean Ewington CodeProject
-
Thanks very much for your message. Is this the article you're working on? Type System Features[^] Just to check, did you enable "Show auto-saved drafts"? You can try rolling back to one of those. Otherwise if you send me the URL (or just the ID at the end av=6720275) I'd be happy to try and do it and see if something is busted.
Thanks, Sean Ewington CodeProject
I already fixed it by just manually re-editing the latest version of the article. What I had tried before was enable "show auto-saved drafts" which let me view the draft and then used "rollback" on that draft. When going to "Update Article" afterwards though, nothing had changed. I'm not sure if it's because "Update Article" was still stuck on v2 and hadn't updated to point to the new v3 that the rollback created or what. EDIT: For more details, I was on v2, rolled back to 6720279 which created v3, but "update article" seemed to still be stuck on v2 so I had no way to use/edit v3. So I manually re-edited whatever "update article" was pointing to in order to create the current v4.
-
I already fixed it by just manually re-editing the latest version of the article. What I had tried before was enable "show auto-saved drafts" which let me view the draft and then used "rollback" on that draft. When going to "Update Article" afterwards though, nothing had changed. I'm not sure if it's because "Update Article" was still stuck on v2 and hadn't updated to point to the new v3 that the rollback created or what. EDIT: For more details, I was on v2, rolled back to 6720279 which created v3, but "update article" seemed to still be stuck on v2 so I had no way to use/edit v3. So I manually re-edited whatever "update article" was pointing to in order to create the current v4.
Thanks very much for the details. I will play around with it a bit on a different article. Is your article currently as you want it to be?
Thanks, Sean Ewington CodeProject
-
Thanks very much for the details. I will play around with it a bit on a different article. Is your article currently as you want it to be?
Thanks, Sean Ewington CodeProject