Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-17200

[camel-google-storage] includeFolders parameter doesn't work

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 3.13.0
    • 3.14.0
    • None
    • None
    • Unknown

    Description

      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 

      Attachments

        Activity

          People

            davsclaus Claus Ibsen
            mat_souch Mathieu Souchet
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: