[jboss-jira] [JBoss JIRA] (DROOLS-4331) Error when copying Guided Rule with Bigdecimal

Toni Rikkola (Jira) issues at jboss.org
Wed Jul 17 03:47:00 EDT 2019


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

Toni Rikkola moved RHPAM-2268 to DROOLS-4331:
---------------------------------------------

              Project: Drools  (was: Red Hat Process Automation Manager)
                  Key: DROOLS-4331  (was: RHPAM-2268)
             Workflow: GIT Pull Request workflow   (was: CDW with docs v1)
       Docs QE Status: NEW
          Component/s: Guided Rule Editor
                           (was: Business Central)
    Affects Version/s:     (was: 7.3.1.GA)
            QE Status: NEW


> Error when copying Guided Rule with Bigdecimal
> ----------------------------------------------
>
>                 Key: DROOLS-4331
>                 URL: https://issues.jboss.org/browse/DROOLS-4331
>             Project: Drools
>          Issue Type: Bug
>          Components: Guided Rule Editor
>         Environment: RHPAM 7.3
>            Reporter: Karina Varela
>            Assignee: Toni Rikkola
>            Priority: Critical
>              Labels: drools-tools, support
>
> When copying a guided rule that contains a BigDecimal field, it adds another letter "B" in the drools file. 
> Initial file: 
> package com.myspace.reproducer_02415008;
> import java.lang.Number;
> rule "GuidedRule"
> 	dialect "mvel"
> 	when
> 		DataObject( field == 0.0B )
> 	then
> end
> --------
> Copied file source result code. Note the two B's :
> package com.myspace.reproducer_02415008;
> import java.lang.Number;
> rule "teste"
> 	dialect "mvel"
> 	when
> 		DataObject( field == 0.0BB )
> 	then
> end



--
This message was sent by Atlassian Jira
(v7.12.1#712002)


More information about the jboss-jira mailing list