]
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!