[
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: [email protected]
For additional commands, e-mail: [email protected]