patch to allow Pathauto alias generation for usernode author-name and author-uid

setvik - March 21, 2008 - 02:26
Project:Usernode
Version:5.x-1.3
Component:Code
Category:bug report
Priority:critical
Assigned:Unassigned
Status:closed
Description

in the usernode_create_node() that builds the $node object, the 'name' and 'uid' keys are not set.

The result is that pathauto can't generate aliases for any of the node author tokens (author-uid, author-name, author-name-raw).

The attached patch fixes it for me.

(NOTE: Also requires Pathauto 5.x-2.x-dev - until Pathauto 5.x-2.2 is released, since usernode makes use of drupal_execute: see http://drupal.org/node/225554).

AttachmentSize
usernode_pathauto.patch381 bytes

#1

setvik - June 12, 2008 - 01:46
Status:needs review» fixed

Fixed in usernode-5.x-1.4

#2

Anonymous (not verified) - June 26, 2008 - 01:52
Status:fixed» closed

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

 
 

Drupal is a registered trademark of Dries Buytaert.