While trying to use profile tokens in a rule provided by the Rules module, I found them don't got replaced. Digging in Rules module, I found it creates a derived namespace for each token type, like node:nid and user:uid. This prevents a Token Profile's token to be replaced.

I created a more verbose prefix to the tokens generated by Token Profile, without colon.

CommentFileSizeAuthor
token_profile.module.rules_clash.patch1.22 KBAnonymous (not verified)

Comments

dan3h’s picture

This patch worked well for me. Thanks!

upupax’s picture

+1 works great!

Anonymous’s picture

To the people using the patch, remember that the patch does not provide an automated upgrade. It's the responsability of the site admin to replace the old profile tokens with the new namespaced ones.

MBroberg’s picture

works for me too, thanks!

fizk’s picture

Status: Needs review » Postponed (maintainer needs more info)

eriksen.costa, I'm unable to reproduce this issue. Can you please give me a step-by-step to reproduce?