Fixed Disable Draft doesn't work

JVCode

Well-known member
Trying to disable drafts, but it doesn't seem to work, after disabling and returning to forum to compose a new thread, drafts are still being saved.

Capture.webp
 
Disabling drafts will not clear the current drafts that might exist in your database.

After disabling the drafts, run the following MySQL query:

TRUNCATE xf_draft

That will certainly remove the existing draft. But the thing is to see if the auto saving of drafts stops after you have done that.
 
If it's just related to an existing draft being loaded, then Chris is correct. I am making tweaks to ensure that old drafts are removed in this situation (as right now they're not).

However, if it's related to drafts actually being saved, then I can't reproduce this.
 
If it's just related to an existing draft being loaded, then Chris is correct. I am making tweaks to ensure that old drafts are removed in this situation (as right now they're not).

However, if it's related to drafts actually being saved, then I can't reproduce this.

This is what happens, it's using an existing draft from before drafts were disabled.
 
Then that is currently working as expected.
Manual removal will work for now (the query in my last post)
 
Top Bottom