I am submitting a new issue after following the suggestions posted on https://drupal.org/node/1189682 to no avail.
I am getting the 'No new nodes' message when importing an XML file to create new nodes. The file does contain new data, has the correct UTF-8 encoding, and does not have incorrect linefeeds. The import has worked in the past, but after updating either Drupal core or a contrib module, it has not worked and I do not recall after which update it started to fail.
Here is my current setup of Drupal with relevant modules.
Drupal 7.23
Modules:
Feeds 7.x-2.0-alpha8
Feeds Tamper 7.x-1.0-beta4
Feeds XPath Parser 7.x-1.0-beta4
Entity API 7.x-1.2
Entity reference 7.x-1.0+8-dev (2013-Jul-30)
Patches:
Feeds Tamper
- feeds_tamper_ui/feeds_tamper_ui.module
- See https://drupal.org/node/1794482#comment-7737375
- a UI patch, should not affect the import itself
I am attaching a sample XML file containing a single item.
In the import I have used both the file upload and local directory to submit the file; for the node processor settings, I have tried replace, update, and do not update existing nodes; skip hash check enabled and disabled, and am using Tamper to map number ID numbers in the XML to node IDs.
Not sure if there is any more info I need to provide - just ask and I will do so.
Thanks much,
Eric
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | simple_export.txt | 2.18 KB | aitala |
| #4 | complex_export.txt | 8.73 KB | aitala |
| tblEvents_xml.txt | 1.27 KB | aitala |
Comments
Comment #1
aitala commentedNote: I created a new importer that only tries to grab the title and body info from the XML file and I get the same 'No new nodes' message. There are no entity references or feed tampers.
Also note that I reverted to Feeds 7.x-2.0-alpha7 and Entity API 7.x-1.1 and still had no successful imports.
e
Comment #2
aitala commentedI found a 'fix' at some level... basically revert the site site back to Dec 2012.
Drupal 7.22
Modules:
Feeds 7.x-2.0-alpha8
Feeds Tamper 7.x-1.0-beta4
Feeds XPath Parser 7.x-1.0-beta3
Entity API 7.x-1.0
Entity reference 7.x-1.0
Patches:
Entity reference
- entityreference-feeds_integration-1616680-48.patch
- https://drupal.org/node/1616680#comment-6691544
E
Comment #3
twistor commentedCan you post an export of your importer?
It looks like the only relevant change is an update to Feeds XPath parser.
Comment #4
aitala commentedMaybe, I made a very basic node type - just a title and a body - and a new importer to handle that type and even that failed. I will attach the simple and complex importer to this post...
Eric
Comment #5
wusel commentedI never use XML-Import for drupal, but look at https://drupal.org/node/622710#csv for "CSV"!
I think, your problem may be the line-ending-char(s) of your XML file. Read there "XML" instead of "CSV"!
Good luck!
Comment #6
aitala commentedIt is not end of line characters. That was tested.
Eric
Comment #7
twistor commentedIt looks like your context query is incorrect.
It should be something like
/results_table/rowComment #8
wusel commentedAt Basic Settings:
"Import on Submission" is checked?
Good luck!