On my website, I have activity stream running and have path auto automatically creating aliases for every Activity Stream node. I want it to follow the pattern of "users/[author-name-raw]/ActivityStream/[lnid]". This works if I use the bulk generate option to create aliases for already made activity stream nodes. For example on my website: http://johnstonflat.com/users/daniel/activitystream/267

However if it generates it as a Activity Stream node is created, it just completely ignores the "[author-name-raw]" part of the alias pattern. For example on my website: http://johnstonflat.com/users/activitystream/272 . I cannot see anyway to fix this, and any way I try (for example using [author-name] instead of [author-name-raw]) just results in the same problem. It makes me need to re-write my aliases for every activity stream node, and as you imagine this is very annoying when its coming from a plugin like Activity Stream (with many posts coming in.)

I am not a 100% sure if this is a Activity Stream bug, or a Path Auto bug but as it only appears to happen on Activity Stream items it makes me believe that it isn't reporting the [author-name-raw] data right to path auto when it generates the node. However I don't fully understand all this, so I could be completely wrong.

Any help would be much appreciated.

Comments

akalsey’s picture

Project: Activity Stream » Token
Version: 6.x-1.0-rc1 » 6.x-1.11
Component: Miscellaneous » Code
Assigned: Unassigned » akalsey
Category: support » bug
Status: Active » Closed (duplicate)

After some research and testing, it appears the issue is with the Token module. There's a issue and patch, and the fix is in CVS already. So it should be fixed in the next Token release.

Moving this to the Token queue and marking this as a duplicate of #366370: $node->name is undefined when using nodeapi('insert')