treivize opened a new issue, #989: URL: https://github.com/apache/incubator-kie-issues/issues/989
**Problem statement:** Building and running the data-index service and the management console based on master branch, it seems that milestones attribute in graphql reply can be now null instead of being an empty array as before. I have the feeling that it is following this big refactor on the serialization of the process instance feed between the kogito runtime and the data-index service: https://github.com/apache/incubator-kie-kogito-apps/commit/ffc8500bbdfb979598392719d3b629a673ee5bdf ``` { "data": { "ProcessInstances": [ { "id": "ceb70cda-0495-4c61-abba-ebd7e65d8788", "processId": "myprocess", "processName": "MyProcess", "businessKey": null, "parentProcessInstanceId": null, "parentProcessInstance": null, "roles": null, "variables": {...}, "state": "COMPLETED", "start": "2024-03-05T09:01:28.173Z", "lastUpdate": "2024-03-05T09:02:10.503Z", "end": null, "addons": [ "process-management", "process-svg", "cloudevents", "prometheus-monitoring", "monitoring", "mongodb-persistence", "jobs-management" ], "endpoint": "http://kogito-runtime.kogito.svc.cluster.local:8080/myprocess", "serviceUrl": "http://kogito-runtime.kogito.orms-dev-sandbox.svc.cluster.local:8080", "source": null, "error": null, "childProcessInstances": [], "nodes": [...], "milestones": null, "__typename": "ProcessInstance" } ] } } ``` **Proposed solution:** Add a simple optional chaining/null check in UI code here: https://github.com/apache/incubator-kie-kogito-apps/blob/main/ui-packages/packages/process-details/src/envelope/components/ProcessDetails/ProcessDetails.tsx#L353 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
