tkobayas commented on code in PR #6419:
URL:
https://github.com/apache/incubator-kie-drools/pull/6419#discussion_r2278139003
##########
drools-core/src/main/java/org/drools/core/phreak/PhreakRuleTerminalNode.java:
##########
@@ -117,8 +112,8 @@ public static void doLeftTupleInsert(TerminalNode rtnNode,
RuleExecutor executor
activationsManager.getAgendaEventSupport().fireActivationCreated(leftTuple,
activationsManager.getReteEvaluator());
- if ( rtnNode.getRule().isLockOnActive() && pctx.getType() !=
PropagationContext.Type.RULE_ADDITION ) {
- pctx = leftTuple.findMostRecentPropagationContext();
+ if ( rtnNode.getRule().isLockOnActive() &&
+ leftTuple.getPropagationContext().getType() !=
PropagationContext.Type.RULE_ADDITION ) {
Review Comment:
This is an intentional change to revert
https://github.com/apache/incubator-kie-drools/commit/3de05e07086ae761fb742f8bb0ebd95f38559650
. For `getType()`, "getPropagationContext()" (not most recent one) is
consistently used across commits.
--
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]