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.
Hi,
I am using 7.x-2.4 of og and latest drupal core. I also have civicrm 4.5.5
I found that If I have civicrm profile enabled for user registration on a clean installation (without og) and fill in data in the profile fields during user registration form then the profile fields are not cleared i.e. all values are retained.
When I try the same with og enabled and have user entity with the group audience field i.e. og_group_ref field then the civicrm profile fields are cleared.
I also tried this with the latest version of og
Thanks,
Sadashiv.
Comment | File | Size | Author |
---|---|---|---|
#2 | og-2712983-dont_load_og_group_ref_on_user_register_form-1.patch | 651 bytes | sadashiv |
|
Comments
Comment #2
sadashiv CreditAttribution: sadashiv commentedHi,
I know this is a rare case, so I debugged this issue and found that even when we have "Display on user registration form." disabled still og_field_widget_form returns the element for og_group_ref so it causes the problem. Not sure why this is the case but observed that when I return by checking this setting it works as normal.
I am adding a patch for the same.
Hth,
Sadashiv.