camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CAMEL-11679) camel-dropbox - Documentation should warn about remotePath being not set
Date Sat, 09 Sep 2017 21:36:00 GMT

    [ https://issues.apache.org/jira/browse/CAMEL-11679?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16160081#comment-16160081
] 

ASF GitHub Bot commented on CAMEL-11679:
----------------------------------------

GitHub user onders86 opened a pull request:

    https://github.com/apache/camel/pull/1930

    CAMEL-11679 - update dropbox component adoc

    

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/onders86/camel CAMEL-11679

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/camel/pull/1930.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #1930
    
----
commit 3e65bffa5d1e8bf31dd3b462da9f9b98c1ba97b8
Author: onders86 <ondersezgin@gmail.com>
Date:   2017-09-09T21:15:12Z

    CAMEL-11679 - update dropbox component adoc

----


> 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
>            Priority: Trivial
>
> [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)

Mime
View raw message