You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@synapse.apache.org by "Amila Maharachchi (JIRA)" <ji...@apache.org> on 2013/07/20 04:46:51 UTC

[jira] [Reopened] (SYNAPSE-872) Parameters added to a VFS endpoint are added to the reply file name also

     [ https://issues.apache.org/jira/browse/SYNAPSE-872?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Amila Maharachchi reopened SYNAPSE-872:
---------------------------------------


I have found a regression caused by this patch. This fix rectifies the file name, but it also makes vfs.passive etc. parameters to be neglected. Simple, once we apply this patch VFS transport does not work in passive mode.

Sorry about the regression. Please revert this patch. I will prepare a better patch and provide.
                
> Parameters added to a VFS endpoint are added to the reply file name also
> ------------------------------------------------------------------------
>
>                 Key: SYNAPSE-872
>                 URL: https://issues.apache.org/jira/browse/SYNAPSE-872
>             Project: Synapse
>          Issue Type: Bug
>          Components: Transports
>    Affects Versions: 2.1
>            Reporter: Amila Maharachchi
>            Assignee: Hiranya Jayathilaka
>             Fix For: FUTURE
>
>         Attachments: synapse-vfs.patch
>
>
> If we want to write to a file and we want to append to that file, VFS endpoint will look like below.
> <address uri="vfs:file:///home/amila/test/out/response.xml?transport.vfs.Append=true" />
> Append works only when the parameter is added as shown above. But then, the response file name becomes "response.xml?transport.vfs.Append=true". This is because the parameters being not considered when getting the file path.
> I will attach a patch for this.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

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