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.
This is the controller panel for Smart Panels app
raw data pagination is null for definitions with no instances
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.