Hello,

I just noticed that the feed is imported fine into my content type, but also an equal number of completely blank nodes are created as well, with status Published, but no title, no body nothing.

Just a node id, a published date, and a published status.

Any ideas?

CommentFileSizeAuthor
#5 csv-importer_export.txt1.79 KBasb
#5 test.csv_.txt671 bytesasb

Comments

giorgio79’s picture

Status: Active » Fixed

This might be sg else I am investigating. Will reopen if it is Feeds.

Status: Fixed » Closed (fixed)

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

pal4life’s picture

Hi,
I am facing a similar issue, in my case no feeds are imported et all. I am trying to import a csv in to a content type.

johnbarclay’s picture

Title: Nodes are imported but an equal number of blank (empty) nodes are created as well » Need Help with CSV import to content type.
Category: bug » support
Status: Closed (fixed) » Postponed (maintainer needs more info)
asb’s picture

Version: 6.x-1.0-alpha11 » 6.x-1.0-beta11
Category: support » bug
Status: Postponed (maintainer needs more info) » Active
StatusFileSize
new671 bytes
new1.79 KB

Similar issue; I'm trying to import a very simple CSV file with "File upload", "CSV parser" and "Node processor", without any success. Because some CCK field types like date often cause trouble when trying to bulk import something, I'm limiting my import mappings to simpler field types like "text". However, I'm still not getting any results.

When I go to the "Import" page, the importer shows up; I can upload a CSV file and click on "Import", thats all - no new nodes are being created, no status message shows up, and nothing is logged through Drupal's watchdog.

I'm updating the issue to the currently recommended version 6.x-1.0-beta11 that I'm using on my site; also I'm changing the category back to "bug report"; even if it is absolutely possible that my configuration is somehow borked, I'd consider it as a (actuall quite major) bug if "Feeds" doesn't give any feedback at all, neither in the UI, nor in the log files.

I'm using 'Feeds' on the same site with a different configuration to process RSS feeds; this works for years without any problems, so basically the module works fine. It just seems to refuse to process CSV files.

Attaching an export of my importer definition, and the CSV file I'm trying to import.

Thanks for any suggestions!

asb’s picture

Title: Need Help with CSV import to content type. » CSV import to content type does not work
Component: Miscellaneous » Feeds Import
Priority: Normal » Major

I wasted several hours to get this working, and the node importer still does not even create a node if only one (!) text field is mapped from a CSV file with exactly one line. So it's simply not working at all, not even with the core components, and without any patches. Also still no error message or anything that might help with debugging.

Changing priority again as this functionality is an essential component of the 'Feeds' module, and the handbook pages don't even give a hint what might be the problem.

asb’s picture

Category: bug » feature

After several more hours, I got CSV imports (at least partially) working. Actually logging seems to be the problem as there are numerous conditions where an import fails, e.g. required fields or unsupported data types (double check which data types are supposed to be supported, and triple check the issue queue about the actual scope of this support. Also the "Import on create" setting in the importer's "Basic settings"; anything but "Import on submission" seems not to work for CSV imports.

Changing this issue into a feature request: Please make logging a lot more verbose; the mentioned conditions should imho show up somewhere, either in the UI, or in Drupal's watchdog log.

twistor’s picture

Component: Feeds Import » Code
Issue summary: View changes
Status: Active » Closed (outdated)