tkobayas commented on PR #6430: URL: https://github.com/apache/incubator-kie-drools/pull/6430#issuecomment-3247935383
Thoughts: Eval is not property reactive aware, so https://github.com/apache/incubator-kie-drools/commit/e134ac6c92a529d38784e2db04016c6a0dee98b2 was introduced to disable property reactivity of the previous JoinNode. Then, what happens if it's not Eval? for example) ``` rule "b_1" when dt1 : Dt1( ) dt2 : Dt2( ) dt3 : Dt3( dt2.t == "YES") ``` In this case, `PatternBuilder.lookAheadFieldsOfIdentifier` searches all patterns in LHS and find `dt2.t` is evaluated, adds the field `t` to `listenedProperties`. So `Dt2( )` JoinNode is property reactive on `t` modification! -- 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]
