feedaggregator_node does not assign author correctly

gwen - July 6, 2007 - 22:50
Project:Feedparser
Version:5.x-1.x-dev
Component:feedaggregator_node
Category:bug report
Priority:normal
Assigned:Unassigned
Status:needs review
Description

feedaggregator_node sets the default author of a node to "anonymous" even if an administrator sets the default name to some other user. I found that this was happening b/c $node->uid was set in the node object prior to saving. I found that setting $node->name instead fixes this issue. A patch is attached.

AttachmentSize
feedaggregator_node_patch.txt695 bytes

#1

myersca - December 4, 2007 - 00:44

Patch works if you manually update items, but for new feed items found in a cron run still get assigned as anonymous. This is what I found.

#2

james_w - September 9, 2008 - 03:17

Same issue here.

 
 

Drupal is a registered trademark of Dries Buytaert.