raw data pagination is null for definitions with no instances

XMLWordPrintable

    • Type: Bug Report
    • Resolution: Fixed
    • Priority: L3 - Default
    • 3.5.0
    • Affects Version/s: None
    • Component/s: backend
    • None
    • Not defined

      Problem:

      When creating a raw data report with a definition that has no instances, Optimize currently crashes because the backend return no pagination information to the front-end.
      This was noticed by creating a raw data decision report based on the `Assign Approver Group - 2 defined and 1 shared Tenant` definition

      Steps to reproduce:
      1. Create an empty report.
      2. Select a definition that has no instances, e.g. `Assign Approver Group - 2 defined and 1 shared Tenant` decision definition
      2. Select the view as `Raw Data`

      Actual result :
      Optimize crashes

      Expected result:
      Optimize shows an empty table visualization.

      Hint:
      The `pagination` property of the returned report evaluation response is `null` in this case. For Process reports it seems a default value is returned always, even if there is no data. We should adopt the decision evaluation to behave the same.

            Assignee:
            Unassigned
            Reporter:
            Omran Abazeed
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: