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

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


     [ https://issues.jboss.org/browse/JBRULES-2993?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tomáš Schlosser updated JBRULES-2993:
-------------------------------------

    Affects Version/s: 5.2.0.M2


> Metadata escapes
> ----------------
>
>                 Key: JBRULES-2993
>                 URL: https://issues.jboss.org/browse/JBRULES-2993
>             Project: Drools
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>    Affects Versions: 5.2.0.M2
>            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