I'm trying to remove Groups Audience fields from content types which I am no longer using. Accessing admin/config/group/fields with my admin account, and clicking on the Delete operation next to a Groups Audience fields refreshes the page with the status, "The field Group audience has been deleted from the News Release content type." However, the field still persists in the list on this page.

Deleting the field from the content type itself via admin/structure/types creates a blank spot on the Group Fields page (an entry with no name or fields on the Group Fields list), and blank spots (like ", , ,") on Drupal's field list report where the content type previously was listed.

Checking the database, I saw these fields were not removed from field_config. Deleting the rows from this table did not remove the blank spots indicated above.

Caches were cleared multiple times, as well as a registry rebuild (worth a shot, eh?). All Features referencing OG have been disabled and uninstalled, so there shouldn't, hypothetically, be a problem there...

Is there another table somewhere that OG gets Groups Audience field data from? I want to make sure this is all properly removed so I don't have any update problems in the future. Thanks!

Comments

NofarG’s picture

About the original bug -
I was not able to reproduce this bug on a clean installation:

  • I created 2 content types - one set to be Group and the other is Group Content.
  • I created 2 nodes - one for each type - and made the second one a group content of the first one.
  • I went to admin/config/group/fields and deleted the audience field. I got a success message, but the audience field was properly deleted, so the whole content type was removed from the list.

Since it doesn't happen on a clean installation, I recommend you try disabling ALL contributed modules that are not required for og & og_ui and try again, and if it still doesn't work, see if you are somehow able to reproduce this on a clean installation.

About the blank fields you are now seeing - it's hard to know what the problem is without a db dump...

NofarG’s picture

Assigned: Unassigned » NofarG
Status: Active » Postponed (maintainer needs more info)
nwehner’s picture

I can't produce it on a clean install, but I also still can't remove the content types even with *every* OG-related module and feature, including Features itself, disabled and uninstalled. Very, very odd.