[jbosstools-issues] [JBoss JIRA] Updated: (JBIDE-5269) Drools Gudided Editor creates incorrect XML for BRMS Manager to consume

Max Rydahl Andersen (JIRA) jira-events at lists.jboss.org
Tue Dec 15 05:15:31 EST 2009


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

Max Rydahl Andersen updated JBIDE-5269:
---------------------------------------

    Fix Version/s: 3.1.0.GA


I guess for GA ?

> Drools Gudided Editor creates incorrect XML for BRMS Manager to consume
> -----------------------------------------------------------------------
>
>                 Key: JBIDE-5269
>                 URL: https://jira.jboss.org/jira/browse/JBIDE-5269
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: drools
>    Affects Versions: 3.0.1.GA
>         Environment: BRMS Manager 5.0.1
>            Reporter: Graham Gear
>            Assignee: Kris Verlaenen
>            Priority: Minor
>             Fix For: 3.1.0.GA
>
>
> When rules created with the Dev Studio 2.1 Drools Guided Editor are uploaded to the BRMS Manager 5.0.1, literal values are not displayed correctly. BRL authored from Dev Studio has a feild nature of 0, where as BRMS authored BRL has a nature 1.  Eg
> Dev Studio Drools Guided Editor BRL:
>   <rhs>
>     <setField>
>       <fieldValues>
>         <fieldValue>
>           <field>review</field>
>           <value>Rule 6764: Review: Large Monthly Income</value>
>           <nature>0</nature>
>           <type>String</type>
>         </fieldValue>
>       </fieldValues>
>       <variable>applicationResult</variable>
>     </setField>
>   </rhs>
> BRMS Manager Guided Editor BRL:
>   <rhs>
>     <setField>
>       <fieldValues>
>         <fieldValue>
>           <field>review</field>
>           <value>Rule 6764: Review: Large Monthly Income</value>
>           <nature>1</nature>
>           <type>String</type>
>         </fieldValue>
>       </fieldValues>
>       <variable>applicationResult</variable>
>     </setField>
>   </rhs>
> If this is manually changed to 1 and uploaded to the BRMS Manager it all seems to work.
> Previous versions of the Drools Plugin under Dev Studio 2.0 did not generated the nature tag at all and worked with BRMS Manager 5.0.0.
> I have not tested interopability of Dev Studio 2.1 and BRMS Manager 5.0.0

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jbosstools-issues mailing list