Details
-
Type: Bug
-
Status: Done/Fixed
-
Priority: Major
-
Resolution: Fixed/Completed
-
Affects Version/s: 2.2.2
-
Fix Version/s: Unscheduled
-
Component/s: CiviCRM Search
-
Labels:None
Description
It may be limited to when the custom search "Include / exclude contacts in a group or tag" is used. Steps to reproduce in demo:
Go to Custom search --> Include/exclude groups and tags.
Include group "Newsletter subscribers" and exclude tag "major donors" (chosen at random for this test).
A list of 22 contacts is returned.
It is hard to select "all 22 contacts" as it appears greyed out at first, but then it opens up if you click around a few times.
Select "Record activity for contacts" and click "Go".
The activity screen appears but there is this warning:
warning: Invalid argument supplied for foreach() in /var/www/drupal-6.civicrm.org/public/sites/drupal.demo.civicrm.org/modules/civicrm/packages/HTML/QuickForm/Controller.php on line 496.
Create "Activity two" as a meeting and click "save". More warnings:
- warning: Invalid argument supplied for foreach() in /var/www/drupal-6.civicrm.org/public/sites/drupal.demo.civicrm.org/modules/civicrm/packages/HTML/QuickForm/Controller.php on line 496.
- warning: Invalid argument supplied for foreach() in /var/www/drupal-6.civicrm.org/public/sites/drupal.demo.civicrm.org/modules/civicrm/packages/HTML/QuickForm/Controller.php on line 496.
Text appears: "Activity 'Activity two' has been saved. . "
Click button "Done". Now the activity has been recorded on the "added by" account (Christian Pearce) but not in any of the 22 selected contacts.
See forum post at http://forum.civicrm.org/index.php/topic,7785.0/topicseen.html