Details
-
Type: Bug
-
Status: Done/Fixed
-
Priority: Blocker
-
Resolution: Fixed/Completed
-
Affects Version/s: 1.2
-
Fix Version/s: None
-
Component/s: None
-
Labels:None
Description
Some time between rev 3842 and 3894 of CiviCRM 1.2, it seems that the 'name' parameter crm_create_group() is no longer used, so when I do:
$title = 'This is a demo';
crm_create_group(array('name'=>'Lobby'.$node->nid, 'title' => $title, 'desc' => 'A description', 'group_type'=>'static', 'source'=>'Lobby', 'is_active' => 1));
A group is now being created with name 'This_is_a_demo' (and the name is truncated if the title is long), not with eg 'Lobby5' as used to happen (if the nid was 5).
I know the name is not visible anywhere in the UI, but it's important to my code which relies on being able to predict a group's name and is now broken. Priority is 'Blocker' because the site that's running it is due to go live later today