You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (Jira)" <ji...@apache.org> on 2021/12/03 08:33:00 UTC
[jira] [Resolved] (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:all-tabpanel ]
Claus Ibsen resolved CAMEL-17200.
---------------------------------
Assignee: Claus Ibsen
Resolution: Fixed
> [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
> Assignee: Claus Ibsen
> Priority: Minor
> Fix For: 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)