Gizra / og

https://www.drupal.org/project/og
92 stars 133 forks source link

Adding OG content fails first time for authenticated users #247

Open eaglegamma opened 7 years ago

eaglegamma commented 7 years ago

After setting up some OG groups and contents, testing with a content type works as admin but fails as an authenticated user. Both the admin and authenticated user have permissions on the content type to create new content and edit own content.

As admin, it works fine, simply saving the new content when added. However, as an authenticated user, it shows no error but does not save the fields except for title. Then, going back to edit the same content, the form shows a new "Group" field. (Determine if this is an OG group.) Saving again as the same authenticated user does work this time around.

I notice this happens with content types that are both OG groups and group contents, but not with a content type that is just an OG group, nor with a content type that is just OG group content.

What could be the issue? Is it to do with OG permissions?

Before first save as authenticated user:

image

After saving, same user edits again:

image

eaglegamma commented 7 years ago

Any comments?