hi,

great modul, really like this one.

i have an issue when i use the node convert template action in a rule ( http://drupal.org/project/rules ) :

i get the above error, when converting from a node type with one CCk field to a node type with several CCK fields (public add form to website content type)

var_dump($source_fields) on line 625 gives an empty result.

my system:

drupal 6.14
Node Convert 6.x-1.5
Content 6.x-3.x-dev

i have hidden several node-type elements on the public add form using Node form columns 6.x-1.6
( http://drupal.org/project/nodeformcols ) maybe there is a conflict there?

is there any further information you need to know?

thanks for this great modul!

cheers

volker

CommentFileSizeAuthor
#1 node_convert-646594-1.patch1.42 KBtraviscarden

Comments

traviscarden’s picture

Title: Invalid argument supplied for foreach() in sites/all/modules/node_convert/node_convert.module on line 625. » Invalid argument supplied for foreach() in node_convert.module on line 621
Version: 6.x-1.5 » 6.x-1.x-dev
StatusFileSize
new1.42 KB

The bug persists in Node Convert 6.x-1.x. It's a very simple matter of not checking that a variable is an array before trying to iterate over it. Here's a patch.

traviscarden’s picture

Status: Active » Needs review

Oops. Now it needs review.

Encarte’s picture

Subscribing