[jbosstools-issues] [JBoss JIRA] Updated: (JBIDE-5873) Attributes in Notifier target tag removed (required for NotifyEmail)

Max Rydahl Andersen (JIRA) jira-events at lists.jboss.org
Thu Feb 18 14:07:10 EST 2010


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

Max Rydahl Andersen updated JBIDE-5873:
---------------------------------------

    Fix Version/s: 3.1.1
         Assignee: Viacheslav Kabanovich
         Priority: Critical  (was: Major)


Slava, what is going on here ? Why are our editor *removing* data ?

> Attributes in Notifier target tag removed (required for NotifyEmail)
> --------------------------------------------------------------------
>
>                 Key: JBIDE-5873
>                 URL: https://jira.jboss.org/jira/browse/JBIDE-5873
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: XML Structured Editor
>    Affects Versions: 3.1.0.CR1
>         Environment: JBoss ESB 4.5, tried on both the CR1 version of tools and the  current trunk build.
>            Reporter: Bill Matson
>            Assignee: Viacheslav Kabanovich
>            Priority: Critical
>             Fix For: 3.1.1
>
>
> The NotifyEmail notification target takes much of its configuration from attributes on the <target> tag.  The 3.1 version of the tools appears to not support attributes on the <target> tag inside of a notifier action.  They can be entered in the XML by hand, however they do not appear to be maintained when changes are made using the graphical editor.
> Since the NotifySqlTable is also configured via attributes on the <target> tag, it probably exhibits the same behavior (I haven't tested this one)....
> Sample one-action ESB service below.  If you do the following you'll see the behavior:
> 1) Copy and paste ESB config into the XML editor.
> 2) Switch to the Tree view and change pretty much anything (i.e. change the name of the action from "TestNotifier" to anything else) and save
> 3) Switch back to XML view and that attributes on the <target> tag are gone.
> Sample ESB:
> <?xml version="1.0"?>
> <jbossesb parameterReloadSecs="5"
>  xmlns="http://anonsvn.labs.jboss.com/labs/jbossesb/trunk/product/etc/schemas/xml/jbossesb-1.1.0.xsd"
>  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://anonsvn.labs.jboss.com/labs/jbossesb/trunk/product/etc/schemas/xml/jbossesb-1.1.0.xsd http://anonsvn.jboss.org/repos/labs/labs/jbossesb/trunk/product/etc/schemas/xml/jbossesb-1.1.0.xsd">
>  <services>
>   <service category="TestCategory" description="Test" invmScope="GLOBAL" name="TestService">
>    <actions>
>     <action class="org.jboss.soa.esb.actions.Notifier" name="TestNotifier">
>      <property name="destinations">
>       <NotificationList type="OK">
>        <target class="NotifyEmail" sendTo="someone at somewhere.com" 
>        		subject="test" from="other at somewhere.com" />
>       </NotificationList>
>      </property>
>     </action>
>    </actions>
>   </service>
>  </services>
> </jbossesb>

-- 
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