Hello, after upgrading to Token 6.x-1.17 all tokens in rules actions of type "Send a mail to an arbitrary mail address" stopped to work.
e.g. I got:
[...]
Titolo: [node:title]
Autore: [author:realname] ( [author:mail] )
Link di verifica: [:global:site-url]node/[node:nid]Pagina degli avvisi pubblicati: [:global:site-url]notices
Pagina di gestione degli avvisi da pubblicare: [:global:site-url]manage_notices
After reverting to 6.x-1.16 I got it back working as expected:
[...]
Titolo: Dr. Antonello Lobianco
Autore: ANTONELLO LOBIANCO ( a.lobianco@univpm.it )
Link di verifica: http://www.econ.univpm.it/node/53911Pagina degli avvisi pubblicati: http://www.econ.univpm.it/notices
Pagina di gestione degli avvisi da pubblicare: http://www.econ.univpm.it/manage_notices
And yes.. I did upgradedb and also cc.. :-)
Comment | File | Size | Author |
---|---|---|---|
#3 | 1329196-token-fix-replace-rules.patch | 843 bytes | Dave Reid |
Comments
Comment #1
perpignan CreditAttribution: perpignan commentedI have the same problem !
I did /upgrade.php and flush all cache but .. tokens aren't replace in mail.
Comment #2
fonant CreditAttribution: fonant commentedI have this problem too.
Same bug as http://drupal.org/node/1328752
Comment #3
Dave ReidCan you please test the following patch?
Comment #4
castelar CreditAttribution: castelar commentedPatch didn't work for me.
Comment #5
Dave ReidI have added some debugging code to 6.x-1.x-dev release that will help trace what function is responsible for calling this incorrectly. Please download the 6.x-1.x-dev release in about 12 hours to help me debug this further.
Comment #6
Dave ReidComment #7
svinod999 CreditAttribution: svinod999 commentedsame problem faced... subscribing...
Comment #8
tobiberlinSame with action "page redirection"... wanted to redirect a user to "/user/[account:uid]/edit" after logging in and now the token is not replaced by the users id.
Comment #9
f1mishutka CreditAttribution: f1mishutka commentedSame problem. Downgrading to token 6.x-1.16
Comment #10
Dave ReidEveryone knows that there is a bug green 'Subscribe' button at the top right of this issue right? Please use it. Thanks.
I have committed a follow-up with http://drupalcode.org/project/token.git/commit/f02c914 that will allow token replacement to still work with arrays but it will also still throw a notice because modules which call with an array still need to be fixed. I will reiterate that it was never supposed to be supported. It only worked by accident.
Please test out the 6.x-1.x-dev release in about 12 hours once it has had the chance to regenerate.
Comment #11
Dave ReidOk installed and enabled Rules and I think I see the problem now. I'm working on it.
Comment #12
Dave ReidRules integration has been fixed with http://drupalcode.org/project/token.git/commit/a10367b. I will release a 6.x-1.18 shortly.
Comment #13
Dave Reid6.x-1.18 has been released.
Comment #14
chicagomom CreditAttribution: chicagomom commentedUpdating to 6.x-1.18 fixed the issue for me. Thanks Dave!
Comment #15
beasley CreditAttribution: beasley commentedWow - thanks for fixing this so quickly! Seems to work fine with my Rules now. Fixed before I had chance to investigate it (I wasn't sure if it was Token causing the problem or something else). Thanks again.
Comment #16
tobiberlinI do not see any subscribe button... how do I get it??? (I know not the topic but it was mentioned here)
Comment #17
Dave Reid@tobiberlin: Read http://drupal.org/node/1306444
Comment #18
tobiberlin@Dave thx... it was not green because I already follow... thx much!