Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-9304

Add to Household task throws fatal error

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Minor
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.1.0
    • Fix Version/s: 4.1.0
    • Component/s: Core CiviCRM
    • Labels:
      None

      Description

      Fatal error: Call to a member function set() on a non-object in /Users/dgg/svn/crm_v4.1/CRM/Contact/Form/Task/AddToHousehold.php on line 236

      To recreate:
      Find Contacts - 'ada'
      Select 2 individuals
      Select action = Add to Household
      Select relationship type = "Member of Household"
      Enter 'ada' for Search string
      Click Search

      You'll get the fatal error from the search() function.
      This does work in 3.4 (regression bug)

      I also tested Add to Organization and that works ok (code in that class doesn't even have search() function).

        Attachments

          Activity

            People

            • Assignee:
              kurund Kurund Jalmi
              Reporter:
              dgg David Greenberg
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 10 minutes
                10m
                Remaining:
                Remaining Estimate - 10 minutes
                10m
                Logged:
                Time Spent - Not Specified
                Not Specified