one merged into 4.4 I'll do a merge PR to 4.5 to ensure this isn't merged as the fixes involve skipping tests due to upstream test framework changes
not being in 4.4
* @static
* @return object
*/
- static function add(&$params, &$ids) {
+ static function add(&$params, &$ids = array()) {
$params['is_active'] = CRM_Utils_Array::value('is_active', $params, FALSE);
$params['is_deductible'] = CRM_Utils_Array::value('is_deductible', $params, FALSE);
$params['is_tax'] = CRM_Utils_Array::value('is_tax', $params, FALSE);
* @static
* @return object
*/
- static function add(&$params, &$ids) {
+ static function add(&$params, &$ids = array()) {
$params['is_active'] = CRM_Utils_Array::value('is_active', $params, false);
$params['is_deductible'] = CRM_Utils_Array::value('is_deductible', $params, false);
$params['is_reserved'] = CRM_Utils_Array::value('is_reserved', $params, false);
'MailSettings',
'Setting',
'MailingContact',
+ //temporary for 4.4 - do not merge to 4.5
+ 'FinancialType',
+ 'FinancialAccount',
);
if ($sequential === TRUE) {
return $entitiesWithout;
'group_id',
),
),
+ 'ActivityContact' => array(
+ 'cant_update' => array(
+ 'activity_id', //we have an FK on activity_id + contact_id + record id so if we don't leave this one distinct we get an FK constraint error
+ ),
+ ),
'Address' => array(
'cant_update' => array(
'state_province_id', //issues with country id - need to ensure same country