ljmotta opened a new issue, #3735:
URL: https://github.com/apache/incubator-kie-tools/issues/3735
The DMN Runner form can't render an result that is a object with an array
inside.
For example:
```ts
dmnRunnerResult = {
result: [{ foo: 1, bar: 2 }, { foo: 3, bar: 4 }]
```
## Reproduce
DMN file:
https://gist.github.com/ljmotta/4e5de0aa0bdd68d6f8b434555ad4cb1d#file-fix-dmn-result-dmn
Inputs:
- "Ratio Option" = "test"
## Reproducer 2
Simple model
[lists.dmn.txt](https://github.com/kiegroup/kie-issues/files/11980858/lists.dmn.txt)
with single Decision node, that is 'id' function like, simply returning the
input data.
Please notice empty output cells

## Fix
Update the `result` callback of the `DmnFormResult.tsx` file to handle an
`array` inside an `object`. The line apache/incubator-kie-issues#247 should
check for an `array` before an `object`.
--
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]