for some reason a simple user import wont work see attached error report and the CSV I am attempting to use

Comments

Robrecht Jacques’s picture

Version: 6.x-1.x-dev » 6.x-1.0-rc3

It seems to be because of required profile fields. Eg:

    ["profile_first"]=>
    string(29) "First Name field is required."
    ["profile_last"]=>
    string(28) "Last Name field is required."
    ["profile_city"]=>
    string(23) "City field is required."
    ["profile_prov"]=>
    string(27) "Province field is required."
    ["profile_code"]=>
    string(30) "Postal Code field is required."
pbindagorge’s picture

I was about to post an issue similar to this but decided that commenting on this issue was probably best. I noticed today that when I attempt to import to a content type that has required CCK fields that near the end of the import wizard it will flag the required field regardless of whether I have anything specified for it in my CSV file. When I saw this the first time I had forgotten about my required CCK fields. So I added the field name to the CSV file and added values for these fields, but I still get the same error. So there really seems to be an issue with required fields and Node Import.

pbindagorge’s picture

I was about to post an issue similar to this but decided that commenting on this issue was probably best. I noticed today that when I attempt to import to a content type that has required CCK fields that near the end of the import wizard it will flag the required field regardless of whether I have anything specified for it in my CSV file. When I saw this the first time I had forgotten about my required CCK fields. So I added the field name to the CSV file and added values for these fields, but I still get the same error. So there really seems to be an issue with required fields and Node Import.

cayenne’s picture

User Import module works pretty good for this

ajcyeh’s picture

Cayenne,

Which User Import Module do you refer to?
I am looking for a stable one.

Thanks!

Ajcyeh

cayenne’s picture

Hi Aj
WHile the Node Import module is great, this one, for users and their profiles, seems to do the trick for me: http://drupal.org/project/user_import

Why, is there another one?

ajcyeh’s picture

Thank you Cayenne,

I read the discussion at http://drupal.org/node/267761 and will try the user_import for D6 later.

Ajcyeh

Robrecht Jacques’s picture

Status: Active » Closed (duplicate)

Could you test the patch of http://drupal.org/node/359488 which adds profile fields in node_import for users.

Thanks. Setting this as duplicate.