[development] uid in node_revisions table different than in node table

Jeff Greenberg jeff at ayendesigns.com
Sat May 14 12:23:19 UTC 2011


Hi Kyle, this might shed some light:

http://drupal.org/node/355421


On 5/14/2011 12:53 AM, Kyle Mathews wrote:

> I got a bug report recently <http://drupal.org/node/1109912> for my 
> module OG Mailinglist in which the person was having trouble with a 
> View he'd created because the users were showing up as anonymous even 
> though it was authenticated users who'd created the nodes.
>
> After some investigation, it turned out the problem was that the uid 
> stored in the node_revisions table was 0 despite the correct uid being 
> stored in the node table.
>
> Does anyone have an idea what could be causing this problem? I'm 
> flummoxed. For what it's worth, the module saves nodes using node_save 
> which I remember hearing isn't the most foolproof way of saving a node.
>
> --
> Kyle Mathews
>
> Blog: kyle.mathews2000.com/blog <http://kyle.mathews2000.com/blog>
> Twitter: http://twitter.com/kylemathews
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/development/attachments/20110514/67efb1df/attachment.html 


More information about the development mailing list