added default states and ability to change state of children nodes (works with book module and worklog module. To add other node types requires adding a else if statement and a database call)

CommentFileSizeAuthor
#2 workflow_4.patch9.21 KBphoolish
workflow_3.patch7.7 KBphoolish

Comments

jvandyk’s picture

A unified diff would be handy.

phoolish’s picture

StatusFileSize
new9.21 KB

Sorry about that, I thought I had sent a patch.

adamrice’s picture

Is the "default state" intended to work with other content types? It lets me set it up, but the default state doesn't seem to get triggered (more specifically, the actions I've associated with "creation > default" are not being triggered).

mfredrickson’s picture

Status: Needs review » Needs work

I'm down grading this patch to needs work for the following reasons:

- adamrice says it does not trigger actions. pretty important
- this is going to change behavior for existing systems. please re-work as a new action ("Change child nodes state..."). Feel free to factor common code out of the original action

Thanks.

Bastlynn’s picture

Status: Needs work » Closed (won't fix)

Hi,

This ticket was last updated over 4 years ago, and hasn't seen additional work since then. Based on that, and that development is now progressing on Drupal 7, I'm going to go ahead and close this one out. If you would still like to see this feature, please reroll for Drupal 7 and post a patch, then we can work on the Druapl 6 version.

- Bastlynn