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

Fix notices in Case API and DeprecatedUtils API

    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: CiviCRM API
    • Labels:
      None

      Description

      Fixes for following notices on optional parameters for case_create:

      Notice: Undefined index: prefix_id in _civicrm_api3_deprecated_add_formatted_param() (line 730 of /Users/dgg/svn/crm_v4.1/api/v3/DeprecatedUtils.php).
      Notice: Undefined index: suffix_id in _civicrm_api3_deprecated_add_formatted_param() (line 741 of /Users/dgg/svn/crm_v4.1/api/v3/DeprecatedUtils.php).
      Notice: Undefined index: case_type in _civicrm_api3_case_check_params() (line 465 of /Users/dgg/svn/crm_v4.1/api/v3/Case.php).
      Notice: Undefined index: start_date in _civicrm_api3_case_format_params() (line 415 of /Users/dgg/svn/crm_v4.1/api/v3/Case.php).
      Notice: Undefined index: case_type in _civicrm_api3_case_format_params() (line 428 of /Users/dgg/svn/crm_v4.1/api/v3/Case.php).
      Notice: Undefined index: location in civicrm_api3_case_create() (line 116 of /Users/dgg/svn/crm_v4.1/api/v3/Case.php).
      Notice: Undefined index: duration in civicrm_api3_case_create() (line 116 of /Users/dgg/svn/crm_v4.1/api/v3/Case.php).
      Notice: Undefined index: medium_id in civicrm_api3_case_create() (line 116 of /Users/dgg/svn/crm_v4.1/api/v3/Case.php).
      Notice: Undefined index: details in civicrm_api3_case_create() (line 116 of /Users/dgg/svn/crm_v4.1/api/v3/Case.php).

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: