[jboss-jira] [JBoss JIRA] (DROOLS-981) when I update the stateful rule, the rule is not be actived

Mario Fusco (JIRA) issues at jboss.org
Tue Nov 17 03:24:00 EST 2015


     [ https://issues.jboss.org/browse/DROOLS-981?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mario Fusco closed DROOLS-981.
------------------------------
    Resolution: Rejected


The fixed you suggested for DROOLS-978 was not correct. I believe that the fix I pushed should solve also this second problem.

> 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: jboss, 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)


More information about the jboss-jira mailing list