Details
-
Type: Bug
-
Status: Done/Fixed
-
Priority: Minor
-
Resolution: Fixed/Completed
-
Affects Version/s: 4.5.5
-
Fix Version/s: 4.6
-
Component/s: Drupal Integration Modules
-
Labels:
-
Documentation Required?:None
Description
I have civicrm 4.5.5, drupal 7.34 and organic groups 2.7 installed. I enabled civicrm_og_sync module to provide access to organic group admins to view civicrm contacts information. The acl works fine normally but breaks in one case. A group is not created when we have big group title.
Steps to replicate:
1) Enable civicrm, og and civicrm_og_sync on drupal
2) Create a organic group with title larger than 70 characters
Problem:
No group is created in civicrm.
I checked and found that the module is invoking CRM_Bridge_OG_Drupal::nodeapi with a params array which is then creating civicrm groups (one for users and other for administrators). When the title is bigger than 64 characters the group create api throws a error that "Value for title is N characters - This field has a maxlength of 64 characters" and doesn't create the group thus breaking the acl.
I am attaching a patch which has a fix