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

Bastlynn’s picture

Status: Active » Closed (won't fix)

Since 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.