Where did the actions go?

myersca - May 11, 2008 - 20:58
Project:Workflow
Version:5.x-2.2
Component:Code
Category:bug report
Priority:critical
Assigned:Unassigned
Status:patch (code needs review)
Description

I don't know if I am missing something or what, but when had version 5x-1.x installed, the actions to publish and unpublish nodes as well as a group of others were listed as actions in the actions area of workflow. I wanted to automatically publish/unpublish nodes when it changed workflow states. Everything is there, and works correctly. But on 5.x-2 they are not an option.

The Node action items of publish node, and unpublish node are not options in the actions (now Triggers area) pop-up even though they are listed on the actions page. What step am I missing here? Is this possible, to do or do I have to stick with 5.x-1.x to have this. Again, I must be missing a step here but any help would be appreciated.

See the attached to see what is listed as workflow actions and what are the actions in the system.

AttachmentSize
triggers.png54.33 KB
actions.png54.21 KB

#1

jvandyk - May 11, 2008 - 21:21
Status:active» by design

Please read the Actions in Contexts section here: http://drupal.org/project/actions

#2

myersca - May 12, 2008 - 00:40

So according to that, it says that it can't be done? Being the action is not in the context of the workflow, it won't show up? I don't understand enough to know what keeps it from showing up on one list since it does on another :)

#3

jvandyk - May 12, 2008 - 00:43

From that page: "To be able to assign any action to any context (as you could in 5.x-1.x), use the triggerunlock module.

"

#4

eguru - May 12, 2008 - 00:48

Try installing the trigger unlock module.

http://drupal.org/project/triggerunlock

Although it says it is for Drupal 6 in will also work in Drupal. It will make all actions available to all contexts.

#5

myersca - May 12, 2008 - 01:41

That works, thanks for the help!

#6

webchick - June 12, 2008 - 17:57
Category:support request» bug report
Priority:normal» critical
Status:by design» patch (code needs review)

So this module is currently completely unusable without triggerunlock. This should at the very least be documented on the Workflow page, but honestly, it should probably just be a dependency of the workflow module.

Here's a patch.

AttachmentSize
workflow-require-triggerunlock-257258-6.patch540 bytes

#7

jvandyk - June 12, 2008 - 18:40

Honestly I think the solution to this is to introduce a toggle into the actions module between "Show recommended actions" and "Show all actions" or something. "Training wheels on / Training wheels off?"

#8

webchick - June 12, 2008 - 18:42

That could also work, but then the install hook of this module really ought to switch that on. This module's completely unusable otherwise, and people don't read docs.

#9

kwixson - September 26, 2008 - 06:54

Okay, seriously, this needs to be documented in big bold letters on the project page for Workflow. I burned HOURS trying to figure out why my actions/workflow setup wasn't working the way it does in the tutorials, including the one at Lullabot. Holy cow! Workflow is now useless without Triggerunlock ... definitely make Truggerunlock a dependency of Workflow.

#10

TfR75 - October 3, 2008 - 09:01

I fully support this - just wasted a lot of time myself!

#11

domidc - October 10, 2008 - 13:51

Wasted a lot of time too :(

 
 

Drupal is a registered trademark of Dries Buytaert.