Export fields properly with Features

by SavaryNicolas   Last Updated December 13, 2017 14:07 PM

I want to improve the way I put my Drupal sites in production. For that I began to use 'Features' to export every single content type I created. (I'm doing it on the Drupal 6 websites).

But when I import those features on the production version of the website the only field I get is the title and other parameters. My field's from CCK are not exported.

I have the same module's (and version) on the local, staging and production website. All required modules are installed. During the generation of the 'Features' I added the custom fields I have created.

Did anybody experience this behaviour? Is there any solution? Did I forget something during the process?

Tags : 6 features

Answers 2

I experience the same problem. I have a module which I have written called order_form. The feature export contains CCK fields, views, permissions and many other things. I have carefully made sure from the selection the right things are checked.

  1. I download my feature put it in the directories then I commit my code
  2. I disable the module on staging
  3. Update my code from SVN on staging
  4. Re-enable the module to see the new version.
  5. Mark components that need review.
  6. Check to see the content type (module in this case) and see if the features have carried through. This is a CCK form by the way which includes conditional fields. I have permissions not automatically set, ordering is fine however the conditional fields rules are missing.
  7. Try revert on all components. Get no new behavior or visibility.

I am unsure what I am doing wrong. I am using Drupal 6.

December 18, 2012 11:23 AM

Just because this comes up high on google when searching for the answer (and I just figured this out):

  1. Run cron

  2. Run update.php

Your fields will then appear. This is a Drupal 6 Features issue only. With Drupal 7 the fields should show instantly.

July 10, 2013 18:43 PM

Related Questions

Why I cannot export vocabulary terms via Features?

Updated August 05, 2015 14:03 PM

Taxonomy Terms List and Features

Updated April 29, 2017 00:07 AM

Drush feature update all panel pages

Updated April 19, 2017 17:07 PM