Anyone know what it means when you get this error with the Node Import Module:
in the preview import screen I get this error above all record previews:
"An illegal choice has been detected. Please contact the site administrator."
And I get this error in the dblog in the admin area:
"Illegal choice 0 in Publish to element."
Any ideas?
Comments
Comment #1
Robrecht Jacques commentedWhat module adds the "publish to element" ? Is it a CCK field with options?
The reason for the illegal choice is that the value submitted (0) is not a choice in a select list, checkboxes or radio buttons form element. The internal form validation fails when submitting the values.
Comment #2
jeremyr commentedI'm not sure, maybe I'll look around the data base to see if I can find a column with a similar title. Anyone have any ideas?
Comment #3
Robrecht Jacques commentedIf you go to the content edit page (node/add/story for example), you should see an element called "Publish to".
Comment #4
jeremyr commentedOh, that makes sense now, that's the domain access module. however I don't see where I can provide an option or map it in the import wizard.
Comment #5
Robrecht Jacques commentedCopy the attachment of http://drupal.org/node/391772 in sites/all/modules/node_import/supported/domain/domain.inc (creating a new directory).
Comment #6
jeremyr commentedIt worked! Thanks for your help.
Comment #7
Robrecht Jacques commentedWell, I'll set it as a duplicate of http://drupal.org/node/391772 then.
That patch will be included in -rc5.