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

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

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


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

Posted by "Ruwan Linton (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SYNAPSE-531?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12700655#action_12700655 ] 

Ruwan Linton commented on SYNAPSE-531:
--------------------------------------

There was an issue related to this and now it is fixed.... apparently this got confused with the SYNAPSE-525

This issue is due to the fact that the Addressing information being copied while cloning the options and the client options gets a higher precedence on messages going out, in the client side of the axis2 and this particular case in synapse acts as a axis2 client.

> 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


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

Posted by "Rajika Kumarasiri (JIRA)" <ji...@apache.org>.
    [ 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


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

Posted by "Ruwan Linton (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SYNAPSE-531?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ruwan Linton resolved SYNAPSE-531.
----------------------------------

    Resolution: Fixed

Fixed on the synapse trunk... now we copy the whole options object but not just the properties

> 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