You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@synapse.apache.org by "Rajika Kumarasiri (JIRA)" <ji...@apache.org> on 2009/04/04 08:18:13 UTC

[jira] Commented: (SYNAPSE-531) Clone the complete options object when coning the mesasge but not just the option properties

    [ https://issues.apache.org/jira/browse/SYNAPSE-531?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12695676#action_12695676 ] 

Rajika Kumarasiri commented on SYNAPSE-531:
-------------------------------------------

I think this copy operation needs a deep copy following all the references  etc..

> Clone the complete options object when coning the mesasge but not just the option properties
> --------------------------------------------------------------------------------------------
>
>                 Key: SYNAPSE-531
>                 URL: https://issues.apache.org/jira/browse/SYNAPSE-531
>             Project: Synapse
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 1.2
>         Environment: all envs
>            Reporter: Ruwan Linton
>            Assignee: Ruwan Linton
>             Fix For: 1.3
>
>
> For the moment when we clone the message we just copy the properties map of the client options, but the client options has various other parameters in it, for example like the username and password to be used by the UT security scenario....
> Therefore these useful values will be lost on the synapse sending process and UT like security scenarios will be failed, because we clone the message before sending it out.
> The solution is to copy the full options object but not just the properties of the options object.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@synapse.apache.org
For additional commands, e-mail: dev-help@synapse.apache.org