[jboss-jira] [JBoss JIRA] (DROOLS-5119) [Guided Rule Editor] Workbench BigDecimal value turns into 0.0 in DRL
Michael Anstis (Jira)
issues at jboss.org
Tue Mar 10 09:02:56 EDT 2020
[ https://issues.redhat.com/browse/DROOLS-5119?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13993841#comment-13993841 ]
Michael Anstis commented on DROOLS-5119:
----------------------------------------
I tried logging out, logging back in, stopping server and re-starting... on both cases the rule still shows {{D0( f1 == 100B )}}.
You can ascertain the version of the workbench from the drop-down by your User name. Select "About" and the version is shown in the dialog.
> [Guided Rule Editor] Workbench BigDecimal 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), Guided Rule Editor
> Affects Versions: 7.34.0.Final
> Reporter: Bhala Hadkar
> Assignee: Michael Anstis
> Priority: Major
> Labels: drools-tools
> Attachments: DROOLS-5119-rule.png, 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 Big Decimal 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