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

Regression in API call in civicrm_rules/utils.inc

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Major
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.1.5
    • Fix Version/s: 4.1.6
    • Labels:
      None

      Description

      When updating a Drupal user profile a WSOD is encountered if rules have been defined that manipulate the users CiviCRM group memberships.

      It is caused by an attempt to pass a constant string to an API function that expects an array.

      It appears to be a regression bug along the lines of CRM-10525 which is documented in the 4.1.5 Drupal 6 upgrade guide (http://wiki.civicrm.org/confluence/display/CRMDOC41/Upgrade+Drupal+Sites+to+4.1+-+Drupal+6#UpgradeDrupalSitesto41-Drupal6-CiviCRM415forDrupal6hastwobugs).

      Attached is a patch which undoes the screwy API function call change as best I could make out. Note there are two function calls that I've changed in this patch. The second is the broken one. The first I changed to be consistent (I think).

      You may need to document this in the upgrade guide too.

        Attachments

          Activity

            People

            • Assignee:
              ravish.nair Ravish Nair
              Reporter:
              skelly Scott Kelly
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: