CRM-6762 Disabling a case type causes an error on the manage case screen

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Minor
    • Resolution: Fixed/Completed
    • Affects Version/s: 3.2.2
    • Fix Version/s: 3.2.4
    • Component/s: CiviCase
    • Labels:
      None

      Description

      Create a case.

      Disable the case type for that case under civicrm/admin/options/case_type&group=case_type&reset=1

      Visit the manage case screen for that case. It will say
      Unable to load configuration file for the referenced case type: ''

        Attachments

          Activity

          [CRM-6762] Disabling a case type causes an error on the manage case screen
          Yashodha Chaku added a comment -

          Suppress delete /disable actions for case types that are in use.

          Dave D added a comment -

          No that's the exact opposite of the desired behavior.

          The purpose of disabling the case type is to prevent new cases from being created with that type but still have all the old cases visible and functional. Same as the way other option lists work.

          Sunny Sharma added a comment -

          tested in r29571

          Dave D added a comment -

          Shows correctly on dashboard and doesn't give error on the manage case screen but on the manage case screen it isn't showing the correct case type.

          Dave D added a comment -

          It looks like this got included in the 3.2.3 release, so every case's manage case screen shows the same case type. Can we back this out of 3.2.3?

          See http://drupal.demo.civicrm.org/civicrm/contact/view/case?reset=1&id=2&cid=116&action=view showing the wrong case type.

          Ashwini Poharkar added a comment -

          This issue has been fixed.
          You can get the patch from : https://fisheye2.atlassian.com/changelog/CiviCRM?cs=29602

          Sushant Paste added a comment -

          Tested in r29603.

            People

            • Assignee:
              Sushant Paste
              Reporter:
              Dave D

              Dates

              • Created:
                Updated:
                Resolved: