The user import isn't importing the password correct.
In the file node_import.inc in the function
"function node_import_drupal_validate_form($form_id, $form, &$form_state)"
near line 1527 there is a call to _form_validate($form, $form_state, $form_id);

Before this call the password is still correct in the $form_state
After the call only the first character of the password is left in $form_state

Any Idea why or is it a bug?

Thanks,

Wim

Comments

Robrecht Jacques’s picture

Is the second character a éàö ... etc (a non-ascii character)?
Is your file encoded in UTF8?

wims’s picture

No, its a csv file in ascII. No strange non-ascII characters in it.

EdwinVoskamp’s picture

The same bug seems to affect newly generated passwords: they are only 1 character long.

EdwinVoskamp’s picture

In case it's helpful, here's a dump file I generated from an input file with one record, all ASCII characters.

Record is imported fine, user created. Password is one character long.

Import file and dump are both attached.

jamiers’s picture

I would like to report that I am having an issue with Password Import. My CSV file has a password, but node_import only pulls in the first letter the password in the CSV file.

jamiers’s picture

Assigned: wims » Unassigned
Robrecht Jacques’s picture

Status: Active » Fixed

Fixed in CVS. Will be included in -rc4 released later today.

Status: Fixed » Closed (fixed)

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