I removed a component from feature which was previously added in that feature. I had a feature which was exporting apache solr environment configuration apachesolr_environments later i decided to remove this component from feature so i removed this component using Feature UI and downloaded feature and replaced existing feature with this new feature. This only modified features's info file and removed this line of code only

features[apachesolr_environment][] = acquia_search_server_1

while there an orphan file left MY-FEATURE-NAME.apachesolr_environments.inc which implements hook_apachesolr_environments() and apachesolr environment configuration left in this hook.

Same happened in another case where i need to remove all mini panel component from a feature so this only removed mini panel component from info file and it left hook_default_panels_mini hook in feature_name.panels_default.inc file. I am not sure this is by design and we are supposed to remove these files manually. I think panels and mini panels component get exported in same file feature_name.panels_default.inc but in my case i was not exporting any panel component so this feature_name.panels_default.inc could have been removed.

Comments

msankhala created an issue. See original summary.

msankhala’s picture

Issue summary: View changes