[jboss-jira] [JBoss JIRA] (DROOLS-5078) can't test against bigdecimal value in test scenario in business central

Anna Dupliak (Jira) issues at jboss.org
Mon Jun 1 10:26:00 EDT 2020


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

Anna Dupliak updated DROOLS-5078:
---------------------------------
    Steps to Reproduce: 
Create fact with a *Bigdecimal* datatype field. [^Applicant.java] 
Create test scenario with this field in the given part of the test. [^Permille.scesim] 
Run test.
Expected: message like * "Impossible to parse ..... is not natively supported. Please use an MVEL expression to use it"*
Actual: the test will fail, highlighting the field value with the error message ''class java.math.bigdecimal is not supported'

  was:
create fact with a bigdecimal datatype field.
create test scenario with this field in the given part of the test
run test
the test will fail, highlighting the field value with the error message ''class java.math.bigdecimal is not supported'



> can't test against bigdecimal value in test scenario in business central
> ------------------------------------------------------------------------
>
>                 Key: DROOLS-5078
>                 URL: https://issues.redhat.com/browse/DROOLS-5078
>             Project: Drools
>          Issue Type: Bug
>          Components: Scenario Simulation and Testing, Test Scenarios Editor
>            Reporter: Werner Van Herrewegen
>            Assignee: Yeser Amer
>            Priority: Major
>              Labels: drools-tools
>             Fix For: 7.39.0.Final
>
>         Attachments: Applicant.java, Permille.scesim, image-2020-02-19-10-13-01-440.png
>
>
> I get the error : test failed with reason 
>  !image-2020-02-19-10-13-01-440.png|thumbnail! 
> see screenshot
> 'class.java.math.bigdecimal is not supported'



--
This message was sent by Atlassian Jira
(v7.13.8#713008)


More information about the jboss-jira mailing list