Closed (fixed)
Project:
Multistep (D7)
Version:
6.x-1.x-dev
Component:
Miscellaneous
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
25 Jul 2009 at 20:08 UTC
Updated:
24 Dec 2009 at 12:40 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
vkareh commentedI hadn't thought of that until now, but I see several possibilities:
On the same note, I've been thinking about the Published status. Should the record be kept in an Unpublished state until after all of the steps have been submitted? Or should it be marked Published as soon as it's created? Maybe I'll provide both options and let each website admin decide.
Comment #2
Anonymous (not verified) commentedI don't think it's a good idea to have a node be published after only the first step, especially if required fields are located on later steps...
I'd like to vote for keeping nodes un-published until the last step, possibly even until the 'Finish' button is clicked (as opposed to the 'Save progress' button)...
Comment #3
vkareh commentedFor certain content types I can see the necessity of not publishing them until they are complete, although I have a website that could benefit from having nodes published with incomplete data. In this case we're talking about hundreds of fields and dozens of steps, but I see a need regardless.
I'm thinking of just a simple setting where the user (i.e. content type administrator) decides whether they want their nodes to follow the basic workflow settings, or to wait until all the steps are submitted.
As for the revisions, that could be more complex... I see several options here:
phew! you get the idea... I'll start with the published state setting and wait on some more feedback for the revisions part.
Comment #4
Anonymous (not verified) commentedRe. revisions, what about:
That way you don't have to worry about making sure all steps have been completed (cause the Finish button only appears on the last step), and users that want to skip a step can do so and still get a new revision...
Comment #5
vkareh commentedHere's a patch with several options. Once applied, you have to go to the admin section (
admin/settings/multistep) to configure the revisions and publishing behavior.This patch includes the changes from #560748: Separate 'Hide standard buttons' settings, since I haven't committed those changes yet. Use the latest development snapshot.
Comment #6
vkareh commentedFixed a situation in which the revisions were created during the process of completing the node, as opposed to creating revisions of a completed node.
Comment #7
vkareh commentedThis is the same patch, without the code for #560748: Separate 'Hide standard buttons' settings, for sanity's sake.
Comment #8
vkareh commentedPatch committed to development snapshot.
Comment #9
scottrigbyInterestingly, I'm not able to achieve the Publish "At node completion" option. The node publishes at every 'Next >' step :s
Comment #10
scottrigbySpecifically, the node publishes after completing the first step (the 'Published' flag is selected by default), but then it's unflagged for subsequent steps and finally published at the end. So all seems ok, except for publishing between the first and second steps :p
Comment #12
Anonymous (not verified) commentedI have a node (already created) that I'd like to un-publish, but I can't.
Whenever I untick 'Published' and hit 'Save' or 'Next', it still shows 'Published' as ticked.
I can't un-publish my nodes!
My multistep is set to pubish 'At node completion'. Even trying to un-publish on the last step doesn't work...
Comment #13
Anonymous (not verified) commentedMarking as critical...
Comment #14
Bilmar commentedsubscribing
Comment #15
vkareh commentedI changed the code to verify whether the Published checkbox is checked. Now you can uncheck it to Unpublish your nodes. Keep in mind that it might be marked again after you Save, although the node will still be Unpublished, so that the node can be Published again after it's completed.
The fix is now in the latest development snapshot.
Comment #16
Daniel A. Beilinson commentedThanx.