Can still post to a non-og-group node
| Project: | Organic groups |
| Version: | HEAD |
| Component: | og.module |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
I am unsure if this is expected behavior, nonetheless here are the steps to reproduce the bug on 7.x-dev: http://github.com/amitaibu/OG---Drupal7
Create a content type A that is a group type.
Change the default Article to be an og post type.
Create content node N1 of type A that is set to "Not a group type".
Try to post an article to N1. It should not be listed.
Change N1 to "Group type". Now you should be able to post an article to N1.
Change N1 back to "Not a group type". When creating a new article, N1 will still be listed in the OG audience section.
I notice that when the switch from not-a-group to is-a-group is done, the group gets added og_groups, but when it is switched back from is-a-group to no-a-group, the corresponding row does not get removed.
