Uploaded image for project: 'JBRULES'
  1. JBRULES
  2. JBRULES-2993

Metadata escapes

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 5.2.1.Final, 5.3.0.CR1
    • 5.2.0.M2
    • None
    • None

      I have a rule:
      package org.jboss.qa.drools.bugfixes
      rule "hello world"
      @output("\"Hello world!\"")
      when
      then
      System.out.println("Hello world!");
      end
      And a piece of code:
      System.out.println(getKnowledgeBase().getRule("org.jboss.qa.drools.bugfixes", "hello world").getMetaData().get("output"));
      and the result is:
      ""Hello world!""
      while I expect same result as in 5.1:
      "Hello world!"

              etirelli@redhat.com Edson Tirelli
              tschloss@redhat.com Tomas Schlosser
              Archiver:
              rhn-support-ceverson Clark Everson

                Created:
                Updated:
                Resolved:
                Archived: