Optimize: In reports raw data table is not filled when grouped by ProcessInstance is used #4921
Labels
group:support
All requests that are linked to a customer request. DRI: Tassilo
scope:optimize
Changes to Optimize.
type:bug
Issues that describe a user-facing bug in the project.
Environment (Required on creation)
Reproduced on: 3.14.1 & 3.15
Description (Required on creation; please attach any relevant screenshots, stacktraces, log files, etc. to the ticket)
When creating a report with multiple data source and grouping clause include
Process Instance
the rawdata table is not populated.Steps to reproduce (Required on creation)
Process Instance
view and a group by clause. Running the report produces a graph and the raw data table is visible:screenshot
screenshot
Observed Behavior (Required on creation)
Running the report produces a graph but no data is show in the raw data table, even though pagination elements are present (and data is received from the server).
screenshot
Expected behaviour (Required on creation)
Either the table is filled with data properly
OR the logic is changed so the raw data table is not present. This is hinted in this ticket:
"The raw data panel should not be visible in combined reports" (But this refers to combined report and not report with multiple sources)
Root Cause (Required on prioritisation)
In https://github.com/camunda/camunda-optimize/blob/3ae64708bedb37693397aaa5d3e84871b2e5f4ad/optimize/client/src/modules/services/reportService.js#L17 if:
Then https://github.com/camunda/camunda-optimize/blob/3ae64708bedb37693397aaa5d3e84871b2e5f4ad/optimize/client/src/modules/services/reportService.js#L76:
this will set
measures.data
to be null. The table is provided with no data so it renders no data.I assume this logic is required, but I have not find the use case yet.
Solution Ideas
A, Show data correctly
We can update the check to not convert result to
hyperMap
if the type israwd
, that way the data is preservedB, Hid raw table
Can be done by adjusting: https://github.com/camunda/camunda-optimize/blob/893f21f21ad58ed1c6527bbc7310162979ceb793/optimize/client/src/components/Reports/ReportView.js#L179
Hints
Links
https://jira.camunda.com/browse/SUPPORT-25573
Breakdown
Pull Requests
Dev2QA handover
The text was updated successfully, but these errors were encountered: