[jboss-jira] [JBoss JIRA] (DROOLS-68) Rules evaluation fails after several iterations, when number comparsion is done with quote surrounded values

Mario Fusco (JIRA) jira-events at lists.jboss.org
Mon Jun 17 06:23:20 EDT 2013


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

Mario Fusco resolved DROOLS-68.
-------------------------------

    Fix Version/s: 5.5.1.Final
                   6.0.0.Beta4
       Resolution: Done


Fixed with mvel 2.1.6
                
> Rules evaluation fails after several iterations, when number comparsion is done with quote surrounded values
> ------------------------------------------------------------------------------------------------------------
>
>                 Key: DROOLS-68
>                 URL: https://issues.jboss.org/browse/DROOLS-68
>             Project: Drools
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>    Affects Versions: 5.5.0.Final
>            Reporter: Boon Elschenbroich
>            Assignee: Mario Fusco
>             Fix For: 5.5.1.Final, 6.0.0.Beta4
>
>         Attachments: simpleDroolsTest.tar.gz
>
>
> The following rule evaluation will fail eventually after several iterations from the same rulebase.
> ...
> when
>   A(name == "amount", value > "5000")
> then
> ...
> The rule execution starts to fail after 20 iterations. The rule works fine if stated like this:
> ...
> when
>   A(name == "amount", value > 5000)
> then
> ...
> A test project showing the problem will be provided. This issue may be related to JBRULES-2898

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jboss-jira mailing list