workflow_types_save doesn't delete from workflow_node invalidated workflow
hefox - October 6, 2009 - 14:34
| Project: | Workflow |
| Version: | 6.x-1.1 |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Description
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.
