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

Comments

aitala’s picture

Note: 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

aitala’s picture

I 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

twistor’s picture

Component: Feeds Import (feature) » Code
Category: bug » feature
Status: Active » Postponed (maintainer needs more info)

Can you post an export of your importer?

It looks like the only relevant change is an update to Feeds XPath parser.

aitala’s picture

StatusFileSize
new8.73 KB
new2.18 KB

Maybe, 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

wusel’s picture

I 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!

aitala’s picture

It is not end of line characters. That was tested.

Eric

twistor’s picture

Project: Feeds » Feeds XPath Parser
Version: 7.x-2.0-alpha8 » 7.x-1.x-dev
Category: Feature request » Support request
Issue summary: View changes
Status: Postponed (maintainer needs more info) » Fixed

It looks like your context query is incorrect.

It should be something like /results_table/row

wusel’s picture

At Basic Settings:
"Import on Submission" is checked?

Good luck!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.