Nodes imported without ownership.

sgriffin - January 3, 2009 - 14:37
Project:Imagefield Import
Version:6.x-1.3-beta1
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed
Description

Should be...

function _imagefield_import_create_node()

+$global user;
+$node->uid = $user->uid;
+$node->name = $user->name;

#1

vordude - January 7, 2009 - 05:45
Status:active» needs review

Good call,

Here's a patch that does what you said.

--Works for me.

AttachmentSize
ii_node_owner.patch 720 bytes

#2

jumpfightgo@gro... - January 16, 2009 - 19:16

Works for me too, though take notice that the original post has a typo (that's not in the patch fortunately):

the "$" goes in front of user, not global, in the first line "+$global user;"

#3

opensanta - January 27, 2009 - 07:10

bump

I found this issue while searching to see if there was an issue about making a user interface other than the admin interface for importing images.

@vordude: would you like me to put in a separate feature request for creating a page for normal users to use?

#4

messenger - March 31, 2009 - 00:37

This works for me, so far.

#5

vordude - April 19, 2009 - 19:43
Status:needs review» fixed

Included in latest commit, release forthcoming. Thanks!

#6

System Message - May 3, 2009 - 19:50
Status:fixed» closed

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

 
 

Drupal is a registered trademark of Dries Buytaert.