Details
-
Type: Bug
-
Status: Done/Fixed
-
Priority: Minor
-
Resolution: Fixed/Completed
-
Affects Version/s: 4.7.3
-
Fix Version/s: 4.7.4
-
Component/s: Core CiviCRM
-
Labels:
-
Documentation Required?:None
-
Funding Source:Contributed Code
Description
To replicate the bug on the demo site:
- Create a new contact record.
- Create a new repeating activity.
- Activities will show "None found".
There's a bug in CRM_Activity_BAO_Activity::getContactActivitySelector. The intent is for a position and count to be added for recurring activities - e.g. "Meeting 2 of 5". This is supposed to add an element to an activities array, but instead it creates a separate array. This screws up the AJAX function, which returns:
Notice: Undefined index: activity_type in CRM_Activity_Page_AJAX::getContactActivity() (line 468 of /home/saintfran/www/www/sites/all/modules/civicrm/CRM/Activity/Page/AJAX.php).
PR incoming.