Uploaded image for project: 'Red Hat Decision Manager'
  1. Red Hat Decision Manager
  2. RHDM-856

[GSS](7.3.z)MVELConcequenceBuilder treats '#' within String incorrectly as a comment at 2nd appearance

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 7.3.1.GA
    • 7.2.1.GA, 7.1.1.GA
    • BRE
    • RHDM 7.2.0
      dialect mvel

    • CR1
    • +

    Description

      The rule below expects that "B#" is set to value of the fact. However, "B;#"(i.e. ';' added before '#") is set incorrectly

      dialect "mvel"
       
      rule "testRule"
          when
              $fact : Fact();
          then
              $fact.name = "A#";
              $fact.value = "B#";
              System.out.println( $fact );
      end
      

      Here is output.

      Fact [name=A#, value=B;#]
      

      '#' within the value at 2nd appearance is treated as a start of comment.

      Attachments

        Issue Links

          Activity

            People

              mfusco@redhat.com Mario Fusco
              rhn-support-hmiura Hiroko Miura
              Tibor Zimányi Tibor Zimányi
              Tibor Zimányi Tibor Zimányi
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: