Closed (fixed)
Project:
User Import
Version:
6.x-1.1
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
31 Mar 2009 at 20:33 UTC
Updated:
15 Apr 2009 at 22:40 UTC
Error message when trying to import:
Database fields can only be matched to one column of the csv file.
Implementation of hook_validate has changed.
Note:
http://api.drupal.org/api/function/hook_validate/6
http://api.drupal.org/api/function/hook_validate/5
Comments
Comment #1
robert castelo commentedCan you explain what actions you took to cause this error, and also further explain what the error is?
Database fields can only be matched to one column of the CSV file by design.
Comment #2
robert castelo commentedNote that User Import 6.x-1.1 is the most current version and may already have a fix for the reported bug.
Comment #3
coupet commentedReference:
Drupal 6.10
User Import 6.x-1.1
I commented out user_import_edit_validate and imported all nodes perfectly without changing the matching.
It might be related to the following issue:
hook_validate() doesn't get $form_state passed to it
http://drupal.org/node/241364
Comment #4
robert castelo commentedStill not clear on what the issue is, coupet can you provide a proper explanation?
Comment #5
coupet commentedRobert,
error message is generated by this function.
Let me know if further info is desired.
Comment #6
robert castelo commentedWhat settings result in this bug?
I need to know how to reproduce it.
Comment #7
coupet commentedRobert,
I have tested again on a new install and import works perfectly. Unable to recreate problem. Works as expected. Sorry for the inconvenience.