Db error on setting available groups
tobbe_s - January 8, 2009 - 13:07
| Project: | Organic Groups - Multiple Mandatory Groups by Role |
| Version: | 6.x-1.3 |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | needs review |
Description
It seems that the field names in og table has changed at some point. I installed og_multi_mand_groups6x-1.3 today, together with organic groups6x-1.1. On the settings page where available groups are chosen, I got a db error stating that the field o.selective was not found. In the og table, the 'selective' field has been changed to 'og_selective'. I have created a patch that fixes this problem.
| Attachment | Size |
|---|---|
| og-mult-mand-groups-by-role-db-selective.patch | 1.24 KB |

#1
Confirmed. This patch fixes the bug.
Just re-rolled from proper directory.
#2
Hi, I applied the patch but I still get
warning: Invalid argument supplied for foreach() in /home/giovanid/domains/domain.dom/public_html/includes/form.inc on line 1420.
on /admin/og/og_multiple_mandatory_groups_by_role/groups
#3
Bump
#4
I was running into the same problem. I had to make sure I had a group with closed access to get this working.
#5
Those who still have this problem see http://drupal.org/node/439182 for a recent patch that appears to solve the same issue.