Fixed Draft saved after thread creation

CyberAP

Well-known member
Sometimes when you create a thread a draft is saved. So when you create another thread you see already filled text fields.
 

Pereira

Well-known member
As far as I know, this is expected behavior.

Just hit the "Delete draft" button before you leave the page.
 

Hornstar

Well-known member
I just created a thread and waited until it said saved draft and then posted it. Went to post another thread but all was good. I had no draft show up.
 

Sportsoutlaw

Active member
This happened to my wife a couple days ago. After she had posted a thread, the saved content showed up again. Only happened once though.
 

Pereira

Well-known member
In the same way drafts of posts are thread specific, drafts of threads are forum specific.

If you attempt to create a thread in the Bug Reports forum but don't post it, the draft will only show up if you attempt to create a thread again in that particular forum. I believe drafts are pruned after 24 hours.

The easy way around this is to just hit the "Delete draft" button before you leave the page.

snip.PNG
 

CyberAP

Well-known member
Well I created 5 threads within the hour in this forum section so that proves the idea that the bug should be fixed :)
 

Pereira

Well-known member
Mike describes the process here:
Mike said:
Auto save drafts
While you are typing a message, every X seconds (currently 60), a draft of your message will be saved. If you reload the page later, your message will be automatically re-shown. Drafts will be automatically pruned over time.
Each draft is associated with a particular piece of content, such as a thread, forum, or conversations. A draft reply that you start working on in thread 1 will not be shown to thread 2 and so forth.
 

Hornstar

Well-known member
It's a bug. Draft was saved after I posted a thread. I don't want to create exactly the same thread again.
It's a bug or it was a bug? You said above that it has not happened since and should be fixed. I still can't replicate it.
 

CyberAP

Well-known member
It's still a bug, it hasn't happened again yet because I hadn't posted more than one thread per forum since then.
 

Mike

XenForo developer
Staff member
I think this is a race condition that manifests itself a bit differently than with quick reply...
 

Mike

XenForo developer
Staff member
I believe this is fixed now, though if it's a race condition, the real proof will only be if it doesn't happen again. :)
 
Top