[
https://issues.jboss.org/browse/DROOLS-981?page=com.atlassian.jira.plugin...
]
bing yang updated DROOLS-981:
-----------------------------
Description:
this issue is due to[
https://issues.jboss.org/browse/DROOLS-978]. I modified the
source(NodeTypeEnums.java:Line 88):add if node is null, then return false.
there is no NPE, but I find that the updated rule is not be actived by adding the listener
on the session.
So, I want to know whether my test case is not correct? or the drools does not support the
stateful rule's update? or this is the drools's bug?
but If i modify the org.drools.core.reteoo.TimerNode like this:
public void setNodePosMaskBit(long segmentPos) {
// this.nodePosMaskBit = segmentPos;
this.nodePosMaskBit = 1;
}
then the rule will be actived, but i dont know whether this can cause other questions.
Thanks!
was:
this issue is due to[
https://issues.jboss.org/browse/DROOLS-978]. I modified the
source(NodeTypeEnums.java:Line 88):add if node is null, then return false.
there is not NPE, but I find that the updated rule is not be actived by adding the
listener on the session.
So, I want to know whether my test case is not correct? or the drools does not support the
stateful rule's update? or this is the drools's bug?
Thanks!
when I update the stateful rule, the rule is not be actived
-----------------------------------------------------------
Key: DROOLS-981
URL:
https://issues.jboss.org/browse/DROOLS-981
Project: Drools
Issue Type: Bug
Components: core engine
Affects Versions: 6.3.0.Final
Reporter: bing yang
Assignee: Mario Fusco
Labels: statefule
this issue is due to[
https://issues.jboss.org/browse/DROOLS-978]. I modified the
source(NodeTypeEnums.java:Line 88):add if node is null, then return false.
there is no NPE, but I find that the updated rule is not be actived by adding the
listener on the session.
So, I want to know whether my test case is not correct? or the drools does not support
the stateful rule's update? or this is the drools's bug?
but If i modify the org.drools.core.reteoo.TimerNode like this:
public void setNodePosMaskBit(long segmentPos) {
// this.nodePosMaskBit = segmentPos;
this.nodePosMaskBit = 1;
}
then the rule will be actived, but i dont know whether this can cause other questions.
Thanks!
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)