Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Other Discussions
  3. Article Writing
  4. Rolling back to a draft.

Rolling back to a draft.

Scheduled Pinned Locked Moved Article Writing
announcementhtmlquestion
5 Posts 2 Posters 1 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    J Offline
    Jon McKee
    wrote on last edited by
    #1

    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?

    S 1 Reply Last reply
    0
    • J Jon McKee

      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?

      S Offline
      S Offline
      Sean Ewington
      wrote on last edited by
      #2

      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

      J 1 Reply Last reply
      0
      • S Sean Ewington

        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

        J Offline
        J Offline
        Jon McKee
        wrote on last edited by
        #3

        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.

        S 1 Reply Last reply
        0
        • J Jon McKee

          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.

          S Offline
          S Offline
          Sean Ewington
          wrote on last edited by
          #4

          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

          J 1 Reply Last reply
          0
          • S Sean Ewington

            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

            J Offline
            J Offline
            Jon McKee
            wrote on last edited by
            #5

            Yep! This kinda turned into a bug report :laugh: My bad.

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups