[ 
https://wso2.org/jira/browse/ESBJAVA-570?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Harm Verhagen updated ESBJAVA-570:
----------------------------------

    Attachment: synapse_ESBJAVA-570.xml

synapse configuration file to reproduce this issue.

> using the webui to modify a logmediator resultsin duplicate log entries
> -----------------------------------------------------------------------
>
>                 Key: ESBJAVA-570
>                 URL: https://wso2.org/jira/browse/ESBJAVA-570
>             Project: WSO2 ESB
>          Issue Type: Bug
>    Affects Versions: 1.7.1
>         Environment: debian, wso2esb v1.7.1  java5.
> (PC client firefox 3)
>            Reporter: Harm Verhagen
>            Assignee: Asankha Perera
>         Attachments: synapse_ESBJAVA-570.xml
>
>
> Whenever I edit a property of a logmediator using the webui tooling ( 
> https://<ip>:9444/esb)  The result is that some of the log properties are 
> beeing duplicated. 
> steps to reproduce:
> ===============
> 1: Have a log mediator like this
>         <syn:log level="full" separator=",">
>             <syn:property name="ETICKETING" value="*********"/>
>             <syn:property xmlns:ns1="http://org.apache.synapse/xsd"; 
> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"; name="token" 
> expression="get-property('token')"/>
>             <syn:property xmlns:ns1="http://org.apache.synapse/xsd"; 
> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"; name="method" 
> expression="get-property('method')"/>
>             <syn:property xmlns:ns1="http://org.apache.synapse/xsd"; 
> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"; name="customer_id" 
> expression="get-property('customer_id')"/>
>         </syn:log>
> 2: The using the webui edit the ETICKETING property, set value  = "a".
> 3: press save on the page
> Actual result:
> ==========
> The resulting configuration has duplicate entries
>   <syn:log level="full" separator=",">
>             <syn:property xmlns:ns1="http://org.apache.synapse/xsd"; 
> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"; name="token" 
> expression="get-property('token')"/>
>             <syn:property xmlns:ns1="http://org.apache.synapse/xsd"; 
> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"; name="customer_id" 
> expression="get-property('customer_id')"/>
>             <syn:property name="ETICKETING" value="a"/>
>             <syn:property xmlns:ns1="http://org.apache.synapse/xsd"; 
> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"; name="token" 
> expression="get-property('token')"/>
>             <syn:property xmlns:ns1="http://org.apache.synapse/xsd"; 
> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"; name="method" 
> expression="get-property('method')"/>
>             <syn:property xmlns:ns1="http://org.apache.synapse/xsd"; 
> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"; name="customer_id" 
> expression="get-property('customer_id')"/>
>         </syn:log>
> this time two fields got duplicated.
> expected result
> ============
> just one property was modified, no duplicates

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

        

_______________________________________________
Esb-java-dev mailing list
[email protected]
http://mailman.wso2.org/cgi-bin/mailman/listinfo/esb-java-dev

Reply via email to