Closed (won't fix)
Project:
State Machine
Version:
7.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Reporter:
Created:
6 Apr 2012 at 18:32 UTC
Updated:
5 Oct 2012 at 04:31 UTC
There are two separate flags that are required to be set when attempting to skip the workflow.
Unify them to one.
Comments
Comment #1
fmitchell commentedFixed in commit http://drupalcode.org/project/state_machine.git/commit/d93d4ac
Comment #2
fmitchell commentedBacked this fix out. Broke logic. Need to revisit later. http://drupalcode.org/project/state_machine.git/commit/6c14cec
Comment #3
stevectorIf a content type should be ignored by state_flow would it be better for the load_state_machine() function to just return FALSE?
Comment #4
fmitchell commentedThere is a lot of logic that assumes an object is returned. That's essentially what Issue #1515314 is trying to fix. I hadn't written an appropriate exception method (which is what probably needs to happen so we don't get WSOD).
The ignore_state is for when the node is re-saved and the skip is for not doing workflow at all.
Comment #5
fmitchell commented