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

Cases tab selector omits cases that do not have case activities

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Minor
    • Resolution: Won't Fix
    • Affects Version/s: 4.5
    • Fix Version/s: 4.5
    • Component/s: CiviCase
    • Labels:
      None
    • Documentation Required?:
      None

      Description

      Case types may be configured without a Standard Timeline (to allow ad hoc insertion of activities in the case). However, this triggers a bug in the Case selector. Cases which do not (yet) have any rows in civicrm_case_activity are not included in the Cases selector . The selector 'count' query does include them - so the Cases tab shows (1) even thought the selector is empty. (see screenshot -
      Screen Shot 2014-08-21 at 11.43.59 AM.PNG)

      ---- original post ----
      I don't think you should be able to:

      • delete Open Case from the standard timeline
      • delete the standard timeline from a Case type.

      The first thing you do for a case is open it so even if that is all there is in the standard timeline it should be there.

      If you delete Open Case from the standard timeline:

      • you can't add other activities to the standard timeline.
      • when you open a case of that type the cases tab for the contact is incremented by one BUT if you click on the cases tab it says "There are no case records for this contact." .
      • the case dashboard shows a case of that type is open, but when you click on the number you are taken to the Find Cases search page and given the message "no matches found..."

      So letting people delete Open Case creates inconsistencies within CiviCRM.

      If you delete the standard timeline from a Case type then any timeline you have defined is treated as the standard timeline and the activities in it are created when the case is opened.This can create a set of activities with wrong dates, particularly when the timeline uses the end of the case as the reference as is shown in the attached screenshots.

        Attachments

        1. After adding no_timeline case.PNG
          26 kB
          Joanne Chester
        2. BFW timeline.PNG
          17 kB
          Joanne Chester
        3. four standard timeline test cases in dashboard.PNG
          25 kB
          Joanne Chester
        4. NFW case opened.PNG
          40 kB
          Joanne Chester
        5. no timeline.PNG
          22 kB
          Joanne Chester
        6. only one standard timeline test case.PNG
          23 kB
          Joanne Chester
        7. Screen Shot 2014-08-21 at 11.43.59 AM.PNG
          55 kB
          David Greenberg

          Activity

            People

            • Assignee:
              dgg David Greenberg
              Reporter:
              jchester Joanne Chester
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: