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

    XMLWordPrintable

Details

    • Bug Report
    • Resolution: Fixed
    • L3 - Default
    • 2.4.0-alpha2, 2.4.0
    • None
    • frontend
    • 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.

      mgm-controller-panel

        This is the controller panel for Smart Panels app

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Salesforce