Uploaded image for project: 'Drools'
  1. Drools
  2. DROOLS-4458

String to Boolean coercion doesn't work in executable model

    Details

      Description

      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

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                tzimanyi Tibor Zimanyi
                Reporter:
                tzimanyi Tibor Zimanyi
                Tester:
                Jiri Petrlik
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: