I have successfully added field groups to different content types and added them as features components; this works great. The field groups are automatically created when the feature is enabled.

However, when I make field groups under "Account Settings" (the user profiles), they are not automatically created when I enable the feature; I don't see them in the interface at all.

I tried creating a field group manually that was enabled as a features component on the Account Settings page; Drupal allowed me to do this. When I then went to the features management page, it showed the feature as overridden. When I reverted the feature and went back to the Account Settings page, the field group I had created manually was gone.

In short: it appears that field groups do not get created properly when they are on the Account Settings page. Hopefully these steps allow you to reproduce the problem.

Potentially related issue:
http://drupal.org/node/1278252

Comments

guillaumev’s picture

Seeing the same issue here with 7.x-1.1

gilgabar’s picture

Check your MODULE_NAME.module file of the feature. It is probably missing a line that looks like:

include_once('MODULE_NAME.features.inc');

If it is missing then add that line, changing the name to reflect the name of the module. Clear the cache and it should work.

In my case I had originally created the feature without any components that required the MODULE_NAME.features.inc file. When I added some field groups which do require that file, Features won't overwrite the MODULE_NAME.module file, so the necessary code doesn't get included automatically.

nils.destoop’s picture

I see you deleted the group first. So i probably know what is going on.
If you download latest dev, you'll se a vertical tab: "Disabled fieldgroups". There you can enable it.

It's a bug that still exists. But i have a support issue on the features issue queue for help. #1239734: Feature not beïng set to overriden, when a ctools export (fieldgroup) is disabled

I'm closing this issue, and we can continue in #1619154: Fieldgroup exported feature reports as Overridden just after creating the feature

nils.destoop’s picture

Status: Active » Closed (duplicate)