Token variable not converted in email or message sent with action trigered by workflow module

jjacques - October 4, 2009 - 20:22
Project:Token
Version:6.x-1.12
Component:Token Actions
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active
Description

I have created a 'send email' and a 'Display a message to the user' action using somes variables %site_name, %username, %title, %node_url, %teaser

When I use theses actions with trigger/content 'After saving a new post', the variables are replaced with proper content.

When I use theses action with trigger/workflow 'When page moves from Database entry: (creation) to Database entry: Review' In both messages, the %title, %node_url and %teaser are not replaced and %site_name and %username are replaced correctly.

I have tried with different type of content and the result is the same. This function used to work in the past but since then I added many modules to my site and I réalized the problem a month after.

My site is using Drupal6.14 (the problem was there in Drupal 6.10 before my upgrade) with two language (french and english)

#1

alansz - October 25, 2009 - 19:04

Same issue here.

#2

mineshaftgap - October 30, 2009 - 13:18

Fixed my problem; remember to create a tokenized action and not just the default one.

 
 

Drupal is a registered trademark of Dries Buytaert.