I created a test csv file for my CCK "News Item" and included category names in the first row and category terms under the headers.
In the import wizard, I saw no option to map the categories anywhere. They were just ignored.
What am I missing?

KTNK.

Comments

ktnk’s picture

Version: 5.x-1.x-dev » 5.x-1.1

OK, just in case, I deleted the node_import module, upgraded to the latest release, ran update.php, and tried again.

- There are no category options in the mappings
- If I create a test taxonomy, then it appears in the mapping dropdown as test taxonomy
If I select it and do an import, the value does not get imported although there are no errors in the import.
- The funny thing is that in the categories show up in the next page, and I am asked to choose the categories that will apply to all the imports (not useful, I need to assign individual categories to each item)
When I do the import, the selected category settings don't take effect.

Please help,
Ktnk.

Robrecht Jacques’s picture

Is the category.module or taxonomy.module?

If the first, did you enable the taxonomy wrapper?

ktnk’s picture

Hi Thanks for the response, I appreciate the attention:

On my drupal 5 installation, I have the following modules enabled:
Category
Category Legacy
Legacy
Taxonomy

There is no taxonomy wrapper available in my modules list.
Do I need to download it separately from somewhere?

thanks
ktnk.

shunshifu’s picture

You can enable taxonomy wrapper by going to
admin/content/category/settings

Phil

ktnk’s picture

Status: Active » Closed (fixed)

Oh, I figured that out, thanks.
But enableing the taxonomy wrapper wreaked a bit of havok on the rest of my site (mainly acidfree albume)
So I disabled the wrapper and created separate taxonomies, and that worked well in all my site except for node_import which would see the taxonomy, pretend to import it, but the content never got tagged.
So I finally parted with any remaining category dependancy on my site (through a handful of workarounds), disabled the category module, and voila!
Imports with taxonomy now work.

shunshifu’s picture

Status: Closed (fixed) » Active

This worked fine on a site running 5.2. with the category module. Nodes were imported and placed in the proper categories. However I just tried it several times on a 4.7 site and experienced the same problem as you. It appeared to work but the categories were not assigned.

I really must upgrade that site but it would be great if I could get this working on 4.7.

Phil

Robrecht Jacques’s picture

Version: 5.x-1.1 » 6.x-1.x-dev
Status: Active » Closed (won't fix)

4.7.x and 5.x versions are no longer supported.

Category module seems deprecated - I don't think support for 6.x-1.x is needed.