You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Mathieu Souchet (Jira)" <ji...@apache.org> on 2021/11/16 14:55:00 UTC

[jira] [Comment Edited] (CAMEL-17200) [camel-google-storage] includeFolders parameter doesn't work

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

Mathieu Souchet edited comment on CAMEL-17200 at 11/16/21, 2:54 PM:
--------------------------------------------------------------------

Hello Andrea,
{quote}you're welcome to provide a PR
{quote}
Ok for the PR, i will do that.
{quote}and this is not a blocker, there is a workaround.
{quote}
Ok ... and can you provide me this workaround ?


was (Author: JIRAUSER280308):
Hello Andrea,

 
{quote}you're welcome to provide a PR
{quote}
Ok for the PR, i will do that.

 
{quote}and this is not a blocker, there is a workaround.
{quote}
Ok ... and can you provide me this workaround ?

> [camel-google-storage] includeFolders parameter doesn't work
> ------------------------------------------------------------
>
>                 Key: CAMEL-17200
>                 URL: https://issues.apache.org/jira/browse/CAMEL-17200
>             Project: Camel
>          Issue Type: Bug
>    Affects Versions: 3.13.0
>            Reporter: Mathieu Souchet
>            Priority: Minor
>             Fix For: 3.11.4, 3.14.0
>
>
> The `includeFolders` parameter of `camel-google-storage` component doesn't work.
> The documentation ([https://camel.apache.org/components/3.12.x/google-storage-component.html#_component_option_includeFolders)] says that we just have to set the parameter to `false` in order to ignore folder elements of buckets,
> but actually the parameter does the opposite : if it is `false`, only folder elements are included by Camel.
> Responsible piece of code is here : [https://github.com/apache/camel/blob/main/components/camel-google/camel-google-storage/src/main/java/org/apache/camel/component/google/storage/GoogleCloudStorageConsumer.java#L147]
> I think the condition is reversed 



--
This message was sent by Atlassian Jira
(v8.20.1#820001)