Closed (won't fix)
Project:
Workflow
Version:
6.x-1.1
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
6 Oct 2009 at 14:34 UTC
Updated:
14 Nov 2011 at 18:30 UTC
If a admin decides not to use workflow for a content type after having it used for workflow, any invalid workflows are retained. Checked the cvs repo and that appears to be the case.
Ideally it should probably go into bulk operations if there's nodes that need to be resaved and node_load, node_save them with some indication that workflow_state should be dropped and then handled by nodeapi so that any hooks that want to act on the workflow transition from state=>non-state will be called?
Or.. drop workflow_node db entries and call a node access needs rebuild if workflow_access is enabled.
Comments
Comment #1
Bastlynn commentedSince this request is over 2 years old, I'm going to assume a solution was found or you've moved on. If not, please get updated to the latest versions of all modules and make a request for it against Drupal 7 and I'll be glad to take a look at it.