Closed (fixed)
Project:
Workflow-ng
Version:
5.x-2.0
Component:
Documentation
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
29 Apr 2008 at 17:32 UTC
Updated:
12 Aug 2008 at 10:45 UTC
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
Comment #1
mysocom commentedShould be comment id not node id.
Comment #2
fagocould you post the export of the working rule?
Comment #3
fagoComment #4
ss81 commentedthe problem is in the token_comment.inc file
change line 15 from:
$values['comment-nid'] = $comment->nid;
to:
$values['comment-nid'] = $comment->cid;
Comment #5
fagoit should be [node:site-url]/node/[node:nid]#comment-[comment:comment-cid]. I've fixed it.
Comment #6
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.