As reported here: http://drupal.org/node/1730678#comment-6435198

This problem occurs when creating new group content using Entityreference Prepopulate. If you're a member of the group and have permission to use the Administrator portion of the complex widget then the group passed via the URL will be set as the default value for both the Default AND the Administrator input elements. This causes an error on save when you have cardinality for the field set to 1.

CommentFileSizeAuthor
#1 1781674-og-er-prepopulate-1.patch25.71 KBamitaibu
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

amitaibu’s picture

Status: Active » Needs review
FileSize
25.71 KB

Patch is big because it also includes moving field definition to own include file.

amitaibu’s picture

Status: Needs review » Fixed

Committed.

azinck’s picture

Awesome; thanks for your super-speedy work on OG, Amitaibu.

amitaibu’s picture

Note that due to #1786176: non-member could post within group using the creat link block I have moved the integration code to er-prepopulate. You need to pull latest dev from both modules.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

fsanfili’s picture

Have these changes been rolled into the most recent release versions of these modules?