Details
-
Type: Bug
-
Status: Done/Fixed
-
Priority: Minor
-
Resolution: Fixed/Completed
-
Affects Version/s: 2.2.0
-
Fix Version/s: 2.2.0
-
Component/s: None
-
Labels:None
Description
Executed unit tests in r19529 from the repository. The Activity Get Contact test fails at line 60. This tests whether getting activities for a non-existent contact returns an error. The real problem is in CRM_Activity_BAO_Activity::getContactActivity() which executes a query without checking whether the contact ID is valid.