Active
Project:
Draft
Version:
6.x-1.x-dev
Component:
Code
Priority:
Critical
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
1 Apr 2010 at 14:27 UTC
Updated:
9 Dec 2010 at 19:24 UTC
Hi,
When autosave of this module is enabled, it saves the form even if it is blank, and in that way, blank drafts fill up the drafts table.
Also, when publish is clicked, the module doesn't remove the saved draft from the table which is actually needed.
Who needs the draft, after its published ?
Comments
Comment #1
darren.ferguson commentedComment #2
nileshgr commentedwhy did you close it !??
Comment #3
cayci commentedsame problem
Comment #4
darren.ferguson commentedBlank drafts are always created by the module this is part of how it works since the form api does not support it without the draft id being there. The cron job should remove any that were never updated.
Comment #5
lotyrin commentedWhether they're blank or not, if I have a draft open for a node, and go back to edit it again, I should be warned that there's already a draft for the node I'm editing and asked if I would like to resume it, discard it, or continue editing.
When I first save a draft (whether by auto-save or not), subsequent saves (and auto saves) should always re-use the same draft id.
If you refuse to keep this open as a bug, I've opened it as a feature. I will be investigating implementing this as a patch.