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

Non-case activities are allowed in case configuration activity types, but throwing fatal error when part of case config standard timeline

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Major
    • Resolution: Fixed/Completed
    • Affects Version/s: 3.2
    • Fix Version/s: 3.2
    • Component/s: CiviCase
    • Labels:
      None

      Description

      We're allowing non-case activity types (e.g. Email, Meeting, etc.) in the list of activity types for a case (in case config xml). However, if you include one of these in the standard timeline you get a fatal error:

      "Activity type $theType, found in case configuration file, is not present in the database."

      This is an oversight. Need to fix CRM_Case_XMLProcessor_Process::createActivity() to pass the "true" param for allActivityTypes.

        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: