After updating to the latest dev of commons groups I receive the following error, while creating or updating an group:
Notice: Undefined index: field_og_subscribe_settings in locale_field_entity_form_submit() (line 438 of /mnt/srv/htdocs/house/modules/locale/locale.module).
Notice: Undefined index: field_og_access_default_value in locale_field_entity_form_submit() (line 438 of /mnt/srv/htdocs/house/modules/locale/locale.module).
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | remove-privacy-settings-wrapper-2039619-4.patch | 2.27 KB | devin carlson |
| #1 | remove-privacy-settings-wrapper-2039619-1.patch | 2.15 KB | devin carlson |
Comments
Comment #1
devin carlson commentedThis is caused by
commons_groups_form_group_node_form_alter()unsetting$form['field_og_subscribe_settings'].While this could be solved by using
'#access' => FALSE, I don't believe that thefield_og_subscribe_settingsfield needs to be wrapped in a fieldset at all, so the attached patch removes the wrapper completely.Comment #2
slowflyer commentedThanks!
The patch worked for me!
Comment #3
ezra-g commentedAdding this issue to the 3.4 radar.
Comment #4
devin carlson commentedA reroll of #1.
Comment #5
devin carlson commentedTested #4 with an existing Commons install and didn't run into any errors when creating or updating groups with or without the locale module enabled. I also didn't come across any issues caused by OG Access being enabled or disabled.
Committed #4 to Commons 7.x-3.x.
http://drupalcode.org/project/commons.git/commit/2f674d7