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

Custom Data not included in $objectRef passed to hooks

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: 3.1.5
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      Steps to reproduce:

      1.) Create a Custom Data set for Individuals which accepts multiple values
      2.) Implement hook_civicrm_post with something like if ($objectName == 'Individual' && $objectId && ($op =='create' || $op =='edit'))

      { print_r($objectRef); }


      3.) In CiviCRM, click the 'Edit' link for an Individual. Enter data in custom fields.

      Result: The data in custom fields is not contained in the output $objectRef

        Attachments

          Activity

            People

            • Assignee:
              lobo Donald A. Lobo
              Reporter:
              mchapman2000 Matt Chapman
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: