In my generated csv I have two columns promote and feeds_item, are this fields compulsory? As I will be giving this tool to end-users this might seem strange to them. Thanks

Comments

ojchris37 created an issue. See original summary.

ojchris’s picture

Title: Are this fields compolsory? » Are these fields compolsory?
ojchris’s picture

I guess the feeds_item column is coming from the feeds module I have installed. Without the promote column I got a couple of this errors:
Notice: Undefined index: promote in Drupal\contentimport\Form\ContentImport->createNode() (line 405 of modules\contrib\contentimport\src\Form\ContentImport.php).

Will be great if someone can help with a patch that eliminate the need for the promote column and the attendant error generate in its absence.