[jboss-jira] [JBoss JIRA] Created: (JBRULES-2993) Metadata escapes

Tomáš Schlosser (JIRA) jira-events at lists.jboss.org
Tue Apr 26 04:20:18 EDT 2011


Metadata escapes
----------------

                 Key: JBRULES-2993
                 URL: https://issues.jboss.org/browse/JBRULES-2993
             Project: Drools
          Issue Type: Bug
      Security Level: Public (Everyone can see)
            Reporter: Tomáš Schlosser
            Assignee: Mark Proctor
             Fix For: 5.2.0.M1


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:
"Hello world!"

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the jboss-jira mailing list