As reported here:

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.

#1 1781674-og-er-prepopulate-1.patch25.71 KBamitaibu
PASSED: [[SimpleTest]]: [MySQL] 880 pass(es).
[ View ]


amitaibu’s picture

Status:Active» Needs review
new25.71 KB
PASSED: [[SimpleTest]]: [MySQL] 880 pass(es).
[ View ]

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

amitaibu’s picture

Status:Needs review» Fixed


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?