Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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.
Comment | File | Size | Author |
---|---|---|---|
#1 | 1781674-og-er-prepopulate-1.patch | 25.71 KB | amitaibu |
Comments
Comment #1
amitaibuPatch is big because it also includes moving field definition to own include file.
Comment #2
amitaibuCommitted.
Comment #3
azinck CreditAttribution: azinck commentedAwesome; thanks for your super-speedy work on OG, Amitaibu.
Comment #4
amitaibuNote 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.
Comment #6
fsanfili CreditAttribution: fsanfili commentedHave these changes been rolled into the most recent release versions of these modules?