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

XMLWordPrintable

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

      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.

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

              Created:
              Updated:
              Resolved: