You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Önder Sezgin (JIRA)" <ji...@apache.org> on 2017/09/09 22:18:00 UTC
[jira] [Resolved] (CAMEL-11679) camel-dropbox - Documentation
should warn about remotePath being not set
[ https://issues.apache.org/jira/browse/CAMEL-11679?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Önder Sezgin resolved CAMEL-11679.
----------------------------------
Resolution: Fixed
Assignee: Önder Sezgin
Fix Version/s: 2.20.0
> camel-dropbox - Documentation should warn about remotePath being not set
> ------------------------------------------------------------------------
>
> Key: CAMEL-11679
> URL: https://issues.apache.org/jira/browse/CAMEL-11679
> Project: Camel
> Issue Type: Improvement
> Components: camel-dropbox
> Reporter: Kamil
> Assignee: Önder Sezgin
> Priority: Trivial
> Fix For: 2.20.0
>
>
> [Documentation|http://camel.apache.org/dropbox.html] states, that in "Put" operation remotePath is not Mandatory, because "If the property is not set, the component will upload the file on a remote path equal to the local path."
> It should also warn, that we can omit remotePath ONLY if we are under Linux/Unix and ONLY if localPath is absolute. Otherwise (if we use windows style absolute path C:\ or any relative path on any OS) dropbox will fail with:
> {code}
> Caused by: java.lang.IllegalArgumentException: 'path': bad path: must start with "/": "C:/My/File"
> {code}
> or
> {code}
> Caused by: java.lang.IllegalArgumentException: 'path': bad path: must start with "/": "MyFile"
> {code}
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)