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

line separators in CONDITION column in spreadsheet are escaped

    Details

      Description

      If there are several lines in a cell of CONDITION(LHS), line separators are escaped, and results in build failure.

      Output from SpredSheetCompiler:

      rule "multiple lines in action_12"
          when
              $fact:Person(name == "John",\nage >= 20)
          then
        ...
      end
      

      Error when building:

      java.lang.AssertionError: [7,30]: [ERR 101] Line 7:30 no viable alternative at input '\' in rule "multiple lines in action_12"
      [0,0]: Parser returned a null Package
      

      Escaping should be done only for literal String?

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  mfusco Mario Fusco
                  Reporter:
                  hiroko Hiroko Miura
                  Tester:
                  Tibor Zimanyi
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  4 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: