CCK fields not exported - with fix

nathan573 - March 18, 2009 - 17:13
Project:Automated Web Translation Workflow
Version:5.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active
Description

Hello,
I installed the module and tried to export some CCK nodes but the custom fields were not ending up in the XML export file, only nid, title and body. I looked at the module and searched for "CCK". On line 253 of awtw.module is:

if(module_exists('cck')) {

When I output my module_list() I saw that "cck" doesn't appear in the list but "content" does. When I changed

if(module_exists('cck')) {

to

if(module_exists('content')) {

subsequent exports contained my custom cck fields, as desired. Is my assumption correct that the cck module reports as "content" and not as "cck" in the module list?

 
 

Drupal is a registered trademark of Dries Buytaert.