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

Relationship end date not set when creating resolved cases.

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Minor
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.7.0
    • Fix Version/s: 4.7.30
    • Component/s: None
    • Labels:
    • Versioning Impact:
      Patch (backwards-compatible bug fixes)
    • Documentation Required?:
      None
    • Funding Source:
      Contributed Code
    • Verified?:
      No

      Description

      Two issues on case create -

      1. Relationship end date is not set when creating a new case with resolved status. Steps to replicate -

      • Navigate to "New Case" Form.
      • Select status as "Resolved".
      • Click Save.

      Case is created with resolved status but relationship is still active.

      2. When a Resolved case is created via api(through explorer or via webform). Case end date is not automatically stored. It is correctly set from the "New Case" form.

      Eg api - 

      $result = civicrm_api3('Case', 'create', array(
      'contact_id' => 202,
      'status_id' => "Closed",
      'subject' => "test end cases",
      'case_type_id' => "housing_support",
      ));

        Attachments

          Activity

            People

            • Assignee:
              jitendra.purohit Jitendra Purohit
              Reporter:
              jitendra.purohit Jitendra Purohit
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: