Uploaded image for project: 'Camunda Optimize'
  1. Camunda Optimize
  2. OPT-1950

Optimize crashes when clicking the visualization config button for raw data tables without instances

    Details

    • Type: Bug Report
    • Status: Done
    • Priority: L3 - Default
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.4.0, 2.4.0-alpha2
    • Component/s: frontend
    • Labels:
      None

      Description

      Reproduce:

      • Goto the report edit mode of a raw data report (doesn't matter if its decision or process)
      • make sure that the report has no data, either by selecting a process definition that has no instances or creating a filter that has no instances
      • Click on the visualization configuration button

      Expected:

      • The only option is "Show instance count", since we do not know which variables exist in the process/decision

      Observed:

      • Optimize crashes

      Hint:
      This happens because we try to read which columns exist. We use the first returned instances of the result for that in order to get all the variables that exist in the process/decision. Since there is no first instance, Optimize crashes.

        Issue Links

          Activity

          There are no comments yet on this issue.

            People

            • Assignee:
              Unassigned
              Reporter:
              sebastian.stamm Sebastian Stamm
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: