samuel-beniamin commented on issue #1474:
URL:
https://github.com/apache/incubator-kie-issues/issues/1474#issuecomment-2346387951
> @samuel-beniamin Could you please clarify if this issue relates to some
implementation bug, or to the usage in some test ? I have the impression is the
latter, but it is not clear at all...
Hello @gitgabrio it is actually an implementation bug, I would claim in the
compiler is not checking which model is it currently evaluating, and this just
calls the call back. I prevented the call in the callback itself, but maybe the
proper fix should be in the `DMNCompilerImpl`.
Nonetheless, the fix is simple yes, just skip the call back if this is a
call for a different model by:
```java
if (cModel != model) {
// Logs are secondary to skipping the rest of the execution.
return;
}
```
--
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]