[jboss-jira] [JBoss JIRA] (DROOLS-5119) Workbench int value turns into 0.0 in drl
Michael Anstis (Jira)
issues at jboss.org
Mon Mar 2 16:34:00 EST 2020
[ https://issues.redhat.com/browse/DROOLS-5119?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13986795#comment-13986795 ]
Michael Anstis commented on DROOLS-5119:
----------------------------------------
Can you provide your Java class too?
If a number has {{B}} appended it is usually because you have MVEL dialect and a {{BigDecimal}}.
> Workbench int value turns into 0.0 in drl
> -----------------------------------------
>
> Key: DROOLS-5119
> URL: https://issues.redhat.com/browse/DROOLS-5119
> Project: Drools
> Issue Type: Bug
> Components: Examples (Workbench)
> Affects Versions: 7.34.0.Final
> Reporter: Bhala Hadkar
> Assignee: Michael Anstis
> Priority: Major
> Attachments: Workbench-Guided-Rule.png, drools.png
>
>
> When I set up a Guided rule on Workbench having a comparison condition on one of the domain field of type int then the int value entered through literal text disappears and turns into 0.0B.
> For e.g. if you look at this Guided Rule screenshot the literal value 100 turned into 0.0.
> !Workbench-Guided-Rule.png|thumbnail!
> Also in the drools the value becomes 0.0B.
> !drools.png|thumbnail!
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
More information about the jboss-jira
mailing list