When clicking, 'Delete file from the server' the content is re-entered in to the db. Resulting in two instances of all the imported content.

CommentFileSizeAuthor
#5 node_import_4.patch112 bytessdrycroft

Comments

mlle.yotnottin’s picture

I've noticed this problem as well. If "Titles must be unique for this node type" is checked the nodes are in fact not created although I still get an error message saying the nodes could not be created.

Otherwise, everything imports perfectly as far as I can tell.

shunshifu’s picture

I'm having this issue also. Has there been any resolution?

Phil

2houseplague’s picture

Same here. I had roughly 80% of imported nodes duplicated. At first I thought it was the frequently-reported Node: distinct (Views) issue, but the duplicate nodes have their own NID and are truly duplicates. I really don't see how a failure of the module to delete one CSV before importing the next could cause this, since each of my import runs reported the correct number of nodes had been imported, unless it is both double-importing and mis-reporting.

rimma’s picture

same problem.
Do you anybody know where upload files are saved?
so I can delete manually?
I checked folder of node_import module bu can not find where they are?

thanks.

sdrycroft’s picture

Version: 5.x-1.1 » 5.x-1.2
Status: Active » Needs review
StatusFileSize
new112 bytes

By simply removing the letters CSV from the label for the button "Delete CSV file from server" this is fixed

v1nce’s picture

Status: Needs review » Reviewed & tested by the community

Applied patch and confirmed this corrected duplicate listing error after hitting 'Delete CSV file from server' submit button multiple times. This now deletes the file from the server since line 476 returns true.

<?php
if ($edit['op'] == t('Delete file from server')) {
?>
wmostrey’s picture

Status: Reviewed & tested by the community » Closed (duplicate)