Mathieu Souchet created CAMEL-17200:
---------------------------------------

             Summary: [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


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)

Reply via email to