%title does not work for "display message to user"

nektir - May 1, 2008 - 22:35
Project:Workflow
Version:6.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:fixed
Description

I created an advanced action "display message to user" with %title and then applied to workflow state change. The message simply shows %title rather than the actual node title. I'm not sure if this is an issue for Actions or Triggerunlock...

#1

nektir - May 2, 2008 - 21:32

I found that the other variables do not work either for advanced actions with workflow state changes as well... I created an advanced action "send email" and found only %site_name works, the following do not:

%node_type
%title
%node_url

Does anyone else have this problem?

#2

dirtabulous - August 19, 2008 - 02:13

I'm running into the issue when trying to send mail using actions. Did you ever get this figured out?

#3

nektir - August 26, 2008 - 18:58

Nope, still find any solutions... I just used generic terms instead of the tokens

#4

nektir - August 26, 2008 - 19:18

I haven't tried it yet.. but maybe this will help? http://drupal.org/node/195773

#5

oriol_e9g - August 31, 2008 - 15:14
Component:Miscellaneous» Code

I have the same problem: I have tested the same functionality without the workflow module and works fine, but when I enable the workflow module and configure some actions message actions or email actions appear the string %node_url, %node_type, %title %body instead of the variable content.

#6

oriol_e9g - August 31, 2008 - 15:21
Project:Triggerunlock» Workflow
Version:6.x-1.0» 6.x-1.0-rc1

I have changed the project because the workflow module include the triggerunlock functionalities.

#7

7slice - September 19, 2008 - 15:09

Is this going to be addressed. It seems that sending email is a popular use of workflow.

#8

jvandyk - September 19, 2008 - 15:38
Version:6.x-1.0-rc1» 6.x-1.x-dev

This is actually a bug in Drupal 6 core trigger module. We should roll a patch for D7 and have it applied to D6 as well.

It was fixed in Drupal 5 actions module (this commit).

#9

nektir - October 9, 2008 - 15:40

Should this be moved to the D7 queue? or D6 queue?

#10

attheshow - October 13, 2008 - 17:48

I'm having the same issue. I'm unable to send useful emails because of it. Does anyone have a patch for this?

#11

kcpau - October 22, 2008 - 16:03

I have the same problem. Are you saying that triggerunlock will fix it??

#12

nektir - October 22, 2008 - 16:28

No, jvandyk is saying it is a bug in the Drupal 6 core that would need to be addressed.

#13

mullman - October 30, 2008 - 18:25

How do I apply the fix from #8 in my Drupal 6 installation?

#14

Limiting Factor - November 17, 2008 - 02:29

subscribing

#15

mattmackay - November 19, 2008 - 00:01

Are we able to successfully use variables when sending out emails from workflow (as that is a pretty significant chunk of my use case my workflow and drupal)?

Or are we saying that we need to wait for Drupal 7 before it works??

Thanks

#16

Limiting Factor - November 27, 2008 - 10:41

I've just submitted a patch for D6 that should fix this issue #339770: system_send_email_action doesn't check context for node. It's pretty much the same as the patch referred to by jvandyk in #8!

#17

meba - November 27, 2008 - 22:26

#18

Limiting Factor - November 28, 2008 - 09:08

lol! beaten to it by a day - nice work though.

#19

oriol_e9g - November 30, 2008 - 23:12
Status:active» fixed

Fixed by this: http://drupal.org/node/339591

 
 

Drupal is a registered trademark of Dries Buytaert.