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

Check for Open Case activity type missing or disabled and provide a clear error message

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Trivial
    • Resolution: Fixed/Completed
    • Affects Version/s: 3.3.2
    • Fix Version/s: 3.4.alpha
    • Component/s: CiviCase
    • Labels:
      None

      Description

      Currently if Open Case activity is disabled (or missing) - there's a confusing fatal error message (since we can't find the right activity type file to open):
      Fatal error: Class 'CRM_Case_Form_Activity_' not found in /kunden/251568_1030/webseiten/crm/sites/all/modules/civicrm/CRM/Case/Form/Case.php(174)

      Check that we have a valid activity type id first. If not, provide clearer error message:
      "The Open Case activity type is missing or disabled. Please have your site administrator check Administer > Option Lists > Activity Types for the CiviCase component.:

        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: