Hello,

This would be nice to be able to redo the import process. Is it a feature you are interested in? What do you think?

Thanks

Comments

tomsm’s picture

You mean update the nodes?

benoit.borrel’s picture

@tomsm #1

I was meaning a way to re-submit the execution of the import in order to have the nodes imported again.

For example, it would be useful in the following scenario:

  1. creation and execution of a new import, so we get the new nodes
  2. updating nodes but let's say your are not satisfied with the updates or you were just testing, so you want the nodes back to their original state
  3. deletion of the nodes
  4. re-execution of the import, so we get a fresh copy of the nodes

Hope I replied to your question and my idea is clear this time.

Robrecht Jacques’s picture

Status: Active » Postponed

Yes that feature is planned. The way I see it is that:
- you create a task and it imports
- there are errors (or you are not happy with the result)
- ability to edit the task parameters
- abilty to then either redo the import completely (deleting the created nodes) or to attempt to import the rows with errors only.

Your usage is a bit different, but fits within the same feature.

Also planned (but even longer term) is to be able to edit the data of rows with errors and then retry the import.

Note that there are a number of problems though... eg when redoing the import would we want the same nids or not? This may be possible once imports that can update nodes is possible. But the "allow updates" is also a longer term planned feature.

Setting it as postponed for now.

John Gentilin’s picture

Robrecht,

I posted this issue a while back http://drupal.org/node/422282 still waiting
for feedback to see if this is approach is in good "drupal" form...

I have been using Node_Import to "redo" the import for a while now.. by
creating a separate module that is 10 lines long.. This approach requires
no changes to the node_import module and should be compatible with
Drupal 6 as well as 5..

Also this approach could easily be folded back into the node_import module
if we added the ability to choose unique columns as part of the option phase.
but I butchered the Options form.. I need a little help on how options work..
If there is interest, I would be willing to make this a generic function and
submit it to the node_import project..

-John G