tkobayas commented on code in PR #6533:
URL:
https://github.com/apache/incubator-kie-drools/pull/6533#discussion_r2564018099
##########
drools-core/src/main/java/org/drools/core/reteoo/ReteDumper.java:
##########
@@ -203,6 +203,9 @@ private void dumpNode( BaseNode node, String ident,
Set<BaseNode> visitedNodes,
}
NetworkNode[] sinks = node.getSinks();
+ if (node instanceof RightInputAdapterNode<?> ria) {
+ sinks = new Sink[] { ria.getBetaNode() };
+ }
Review Comment:
This is the main fix. RightInputAdapterNode has no sink, but actually
`betaNode` is its destination.
--
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]