http://drupal.org/node/156531

in url [node:site-url]/node/[node:nid]#comment-[comment:comment-nid]

return http://site/node/131#comment-131

but should be http://site/node/131#comment-4

Comments

mysocom’s picture

Should be comment id not node id.

fago’s picture

could you post the export of the working rule?

fago’s picture

Component: Wng API » Documentation
ss81’s picture

the problem is in the token_comment.inc file

change line 15 from:

$values['comment-nid'] = $comment->nid;

to:

$values['comment-nid'] = $comment->cid;

fago’s picture

Status: Active » Fixed

it should be [node:site-url]/node/[node:nid]#comment-[comment:comment-cid]. I've fixed it.

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.