"Not a group type" still creates a group
| Project: | Organic groups |
| Version: | HEAD |
| Component: | og.module |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Jump to:
I spent some time testing this at the Boston sprint today. It looks like the first item may have been resolved by the new commit that went up today while we were testing. Sorry, I wasn't able to write a patch or test the new code more thoroughly before the day ended:
1. When I create a node and set this to Group type = "Not a group type", the node still appears under the Group audience list.
2. When I add a user to group that has been set as "Not a group type", it looks like the user is added to the not-group. But when viewing the user, if I click the not-group-name-link, it sends me to a legit group (that is, a different group that is actually a group, which does not correspond with the name of the not-group I clicked).

#1
I think I have a sense of what's going on here:
The non-group is added to the og_groups table. I don't think that should happen.
It also looks like non-groups are not all getting added to $elements['#excludes'] in og.module.
#2
Thanks for going over the code! This issue was indeed fixed yesterday -- http://github.com/amitaibu/OG---Drupal7/commit/22065d23c8b2ed9a7a41cfe31...
#3
Automatically closed -- issue fixed for 2 weeks with no activity.