#140 Cancelling a new unsaved post leaves a zombie draft

v2.4
closed-fixed
None
8
2014-08-03
2014-02-06
No

If you create a New Post in a notebook then enter some text without saving, then change your mind and Cancel. Then an empty zombie draft post remains on your dashboard until you edit it and delete the draft.

If however you save your first draft for later, then come back and re-edit it then cancel then it works properly and the draft reverts to the previous draft.

It's annoying but not a blocker and should be fixed.

Discussion

  • Tim Parkinson

    Tim Parkinson - 2014-02-06
    • assigned_to: David R Newman
     
  • Tim Parkinson

    Tim Parkinson - 2014-02-06

    Tweaked summary a bit.

     
  • Tim Parkinson

    Tim Parkinson - 2014-02-06
    • summary: Cancelling a brand new post leaves a zombie draft --> Cancelling a new unsaved post leaves a zombie draft
     
  • David R Newman

    David R Newman - 2014-07-27

    Cancelling will leave the draft visible in the drafts list using delete will not actually delete the entry but make it invisible within the web system. This seems logical behaviour. However, what is illogical is that, when a new entry is created it does not use the completely unused notebook entry rather it creates a new one, making it very easy to build up 'zombie' drafts over time. Therefore the code as of r830 has added a check in add_blog and add_blog_new to check whether an unused draft can be used as a new entry before create a completely new one.

     
  • Tim Parkinson

    Tim Parkinson - 2014-07-28
    • Priority: 6 --> 8
     
  • Tim Parkinson

    Tim Parkinson - 2014-07-31

    What I see is not expected behaviour.
    When I make a new entry and cancel it without saving, I expect it to go away and not hang around in my dashboard.

    I want to see:
    New Entry
    Enter Text without Save for Later.
    Cancel (confirm)
    Dashboard should not now have a blank draft post. That is NOT logical.

     
  • Tim Parkinson

    Tim Parkinson - 2014-07-31

    (Cancelling changes to previously saved drafts reverts to the previously saved draft in the dashboard - that's OK)

     
  • David R Newman

    David R Newman - 2014-08-03

    As Tim seems happy with this fix, this can be closed.

     
  • David R Newman

    David R Newman - 2014-08-03
    • status: open --> closed-fixed
     

Log in to post a comment.