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

crm_uf_get_profile_fields no longer returns 'title' information for fields.

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Critical
    • Resolution: Cannot Reproduce
    • Affects Version/s: None
    • Fix Version/s: 1.4
    • Component/s: None
    • Labels:
      None

      Description

      crm_uf_get_profile_fields as of 1.4 alpha returned a 'title' field as part of the associative array for each field in a profile:

      $raw_data = crm_uf_get_profile_fields($pid, FALSE, $action, $match_fields);
      error_log("Title for first_name is " . $raw_data['first_name']['title']);

      This no longer works in 1.4 Beta rek 4915, since while there is still a 'title' member of the array, it is now always null.

      This will break several Drupal modules, including volunteer, which relies on this data when displaying UI.

        Attachments

          Activity

            People

            • Assignee:
              lobo Donald A. Lobo
              Reporter:
              torenware Rob Thorne
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: