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

Activities automatically created from cases show no subject

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Minor
    • Resolution: Won't Fix
    • Affects Version/s: 4.3.5
    • Fix Version/s: 4.4.0
    • Component/s: CiviCase
    • Labels:
      None

      Description

      As discussed in - http://forum.civicrm.org/index.php/topic,23834.0.html

      For anyone else looking, I found a fix for this.

      It's to do with the XML processor for activities that get created, if it's not an open case task it doesn't add a subject. Which makes sense, but my client had a justification for this not being the case.

      So create a copy of CRM/Case/XMLProcessor/Process.php

      and at line 350, simply add

      'subject' => CRM_Utils_Array::value('subject', $params) ? $params['subject'] : $activityTypeName,

      Basically a straight copy and past from line 331 above.

      Patch attached

        Attachments

        1. changes.patch
          0.1 kB
          Chris Chinchilla
        2. Screen Shot 2013-08-07 at 9.50.11 AM.PNG
          131 kB
          David Greenberg

          Activity

            People

            • Assignee:
              colemanw Coleman Watts
              Reporter:
              chrischinchilla Chris Chinchilla
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: