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

Boon Elschenbroich (JIRA) jira-events at lists.jboss.org
Wed Mar 6 04:12:56 EST 2013


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

Boon Elschenbroich updated DROOLS-68:
-------------------------------------

    Attachment: simpleDroolsTest.tar.gz


Test project to show the problem. Maven project contains two tests. One will fail with the described issue.
                
> 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
>            Reporter: Boon Elschenbroich
>            Assignee: Mark Proctor
>         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