[jboss-jira] [JBoss JIRA] (DROOLS-4458) String to Boolean coercion doesn't work in executable model

Tibor Zimanyi (Jira) issues at jboss.org
Thu Aug 22 08:45:01 EDT 2019


Tibor Zimanyi created DROOLS-4458:
-------------------------------------

             Summary: String to Boolean coercion doesn't work in executable model
                 Key: DROOLS-4458
                 URL: https://issues.jboss.org/browse/DROOLS-4458
             Project: Drools
          Issue Type: Bug
          Components: executable model
    Affects Versions: 7.25.0.Final
            Reporter: Tibor Zimanyi
            Assignee: Tibor Zimanyi


When having constraint like this: 

Person(booleanAttribute == "true")

a build using executable model ends with an exception [1]. This is because the constraint parser doesn't coerce "true" to a boolean true. 

[1] https://gist.github.com/baldimir/e0f1aa27d194b750148f779370d13560



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


More information about the jboss-jira mailing list