Panopoly users is used within Open Atrium and oa_panopoly_users tries to override (features override) page_manager_handlers.pm_existing_pages_user_login_panel_context.conf|body_classes_to_add and because it doesn't exist in panopoly_users, panopoly_users tries to add it to its page_manager_handlers. It seems if the defaults of: 'body_classes_to_add' => '', and 'body_classes_to_remove' => '', are added to panopoly_users then the problem is resolved, does this seem right? I will upload the patch just in case.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

scottalan’s picture

scottalan’s picture

Ok, I may have just learned something about `defaultconfig`. When I patched this feature with the patch above, the feature is no longer showing overridden. This is related to https://drupal.org/node/2193381.

This is what drush fd panopoly_users was showing:

Component type: info
  features[panelizer_defaults][] = user:user:default:featured
  features[variable][] = page_manager_user_view_disabled
> features[variable][] = panelizer_defaults_user_user
  features[variable][] = panelizer_user:user_allowed_layouts_default
  features[variable][] = panelizer_user:user_allowed_types_default


Component type: page_manager_handlers
        'panels_breadcrumbs_paths' => '',
        'panels_breadcrumbs_home' => 1,
>       'body_classes_to_add' => 'oa-login',
        'display' => array(
          'args' => array(),
          'title_pane' => 0,
        ),
<       'body_classes_to_add' => 'oa-login',
      ),
    ),

I didn't realize that even though a drush fd [FEATURE] would show it overridden, that drush fd does not.

dsnopek’s picture

Status: Active » Postponed (maintainer needs more info)

I'm not sure I understand the problem. What's the symptom of this bug? Is something overridden? Or is a Feature not reverting/installing correctly?

dsnopek’s picture

Status: Postponed (maintainer needs more info) » Closed (cannot reproduce)

No reponse for a long time! Closing for now, but feel free to re-open if you add them.