I am trying to upgrade my 5.x site to 6.10 and using date 6.x.2.1 to convert event node to date node.
I have created a date content type which with a date field, ready for import event nodes into.
But when I using the "date tool" to perform the import, it always show the message as follows:

There are no date fields in this database to import the data into. Please add a date field to the desired node types and be sure to indicate it uses both a "from" and a "to" date.

I followed exactly the steps on the document pages, but this tool still not working.
Do I missing anything?

Comments

wylbur’s picture

Version: 6.x-2.1 » 6.x-2.4

This is still an issue with Drupal 6.15 and Date 6.x-2.4. Very frustrating. The tool is not recognizing the date field that I just setup with the date wizard.

klaasm’s picture

On line 827 and line 878 change:

if ($field['type'] == 'date' || $field['type'] == 'datestamp')

to

if ($field['type'] == 'date' || $field['type'] == 'datestamp' || $field['type'] == 'datetime')

This solved the problem for me.

arlinsandbulte’s picture

Status: Active » Postponed (maintainer needs more info)

#2:
Should that change be applied to lines 274 & 325 of date_tools.event.inc?

karens’s picture

Status: Postponed (maintainer needs more info) » Fixed

Went ahead and committed that.

Status: Fixed » Closed (fixed)
Issue tags: -event, -import, -date tool

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