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

|| constraint followed by Windows new line fails to be parsed by drools-mvel-parser

XMLWordPrintable

      Having a constraint like (addresses == 2 || \r\n addresses == 3) fails begin parsed [1] by drools-mvel-parser. To reproduce, use test testBinaryWithNewLine [2] with Windows line endings.

      [1] https://gist.github.com/baldimir/dbe79d4bab6542e3d0e4b251f482e08b
      [2] https://github.com/kiegroup/drools/blob/master/drools-model/drools-mvel-parser/src/test/java/org/drools/mvel/parser/DroolsMvelParserTest.java#L80

              tzimanyi@redhat.com Tibor Zimányi
              tzimanyi@redhat.com Tibor Zimányi
              Jiri Petrlik Jiri Petrlik
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: