I have created a feature on my site. I downloaded it and put it into sites/all/modules/custom/features/vih_subject. It shows up in modules and I have enabled it.

If I do:

drush features

I get the following:

 Name            Feature        Status    State      
 Features Tests  features_test  Disabled             
 vih_subjects    vih_subjects   Enabled   Overridden

However if I navigate to admin/structure/features all I see is a Save-button. The feature is not listed.

Comments

tema’s picture

Component: Code » User interface
Priority: Normal » Major

Same problem. This already have a dupe.

yareckon’s picture

+

rich.yumul’s picture

+1

lsolesen’s picture

What is the state of this issue?

aanjaneyam’s picture

same problem here. I needed to install features to use with feed news But???

duellj’s picture

Title: Features not showing on admin/structure/features » Make manage page more descriptive when empty
Version: 7.x-1.0-alpha3 » 7.x-1.x-dev

This has been fixed in CVS, though it would probably be helpful if instead of showing a blank page with a "Save settings" button on it for the manage page, show instead something like "You have no features. Make a new one *here*".

lsolesen’s picture

How about a new release - perhaps just a dev-release to http://drupal.org/project/features?

zorp’s picture

You can use drush dl features-7.x-1.x-dev to get the dev snapshot.
I can confirm that the latest dev version will give you a proper admin/structure/features page.

sagannotcarl’s picture

Thanks for providing the drush command. Using that version fixes this problem for me as well.

nightowl77’s picture

Subscribe

kbond’s picture

subscribe

helior’s picture

+1

xurizaemon’s picture

Title: Make manage page more descriptive when empty » Make manage features page more descriptive when empty
Status: Active » Needs review
StatusFileSize
new809 bytes

Confused by not seeing any features, even though you have some installed? No need to subscribe or +1 an already fixed issue. Solution was already stated by zorp in #8:
drush dl features-7.x-1.x-dev

If features are found, then we see a nice table of disabled features. However, if you remove all features, features_admin_form() renders a white screen with a useless "save settings" button, and I think this needs a UI fix.

Example patch attached which drops out of the form builder (to prevents rendering 'save settings' button etc) if $features is an empty array; feedback on wording welcome.

I've kicked off with,

<h3>No Features were found.</h3>
<p>You can create Features using the "Create Feature" button, or by uploading Features to your site modules directory.</p>
xurizaemon’s picture

StatusFileSize
new786 bytes

I don't like the messy '<h3>'. t() .'</h3><p>'. t() in the previous patch. This makes it one block of t() instead.

irakli’s picture

Status: Needs review » Closed (fixed)
nancydru’s picture

Issue summary: View changes
Status: Closed (fixed) » Active

I just downloaded the current -dev release and I'm still seeing an empty manage page.

hefox’s picture

Status: Active » Closed (fixed)

The message is there in code so guessing this is some edge case; please open up a new bug report with steps to reproduce, etc. against 7x.-2.x-dev

/**
 * Form constructor for the features configuration form.
 */
function features_admin_form($form, $form_state) {
  // Load export functions to use in comparison.
  module_load_include('inc', 'features', 'features.export');

  // Clear & rebuild key caches
  features_get_info(NULL, NULL, TRUE);
  features_rebuild();

  $modules = array_filter(features_get_modules(), 'features_filter_hidden');
  $features = array_filter(features_get_features(), 'features_filter_hidden');
  $conflicts = features_get_conflicts();

  foreach ($modules as $key => $module) {
    if ($module->status && !empty($module->info['dependencies'])) {
      foreach ($module->info['dependencies'] as $dependent) {
        if (isset($features[$dependent])) {
          $features[$dependent]->dependents[$key] = $module->info['name'];
        }
      }
    }
  }

  if ( empty($features) ) {
    $form['no_features'] = array(
      '#markup' => t('No Features were found. Please use the !create_link link to create
      a new Feature module, or upload an existing Feature to your modules directory.',
      array('!create_link' => l(t('Create Feature'), 'admin/structure/features/create'))),
    );
    return $form ;
  }

Particular with the empty check fails.