[comment-link] after upgrading no longer works, it brings me to a page not found.

any ideas?

Comments

sirkitree’s picture

after upgrading from what?

birchy82’s picture

An older release of Activity 2.x, Also updated Token to the latest release. Maybe thats it?

sirkitree’s picture

Can you tell me what you're expecting and what you're getting?

birchy82’s picture

I'm expecting it to go to the node thats has the comment and down to where the comment is located. Instead im getting a perm/comment in the url and page not found

skizzo’s picture

I am having the same problem for comments to a specific content type:

expected link: /topic/lorem-ipsum#comment-377
actual link: /comment/perm/377#comment-377

Scott Reynolds’s picture

ok this looks like an error by me. I have developed a comment permalink module that does things the way D7 does things. I need to remove this code from Activity and replace with

$node = node_load($NID);
$page = comment_new_page_count($node->comment_count, 1, $node);
url('node/' . $NID, array('query' => 'page=' . $page, 'fragment' => 'comment-' . $CID));
Scott Reynolds’s picture

Status: Active » Fixed

http://drupal.org/cvs?commit=427790

You should be able to rebuild your comment insert activity templates.

Status: Fixed » Closed (fixed)

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