Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-13686

Box Connector file upload does not set check=true (mandatory param)

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Blocker
    • fuse-7.6-GA
    • fuse-7.5-GA
    • Fuse Online
    • None
    • % %
    • Hide

      1. Read a file using custom File connector (https://github.com/sigreen/fis-mft-with-cache/tree/master/syndesis-connector-file2)
      2. Add a step to upload a file with Box connector.

      Log shows: "org.apache.camel.RuntimeCamelException: Missing properties for upload, need one or more from [size, created, listener, modified, check]"

      Show
      1. Read a file using custom File connector ( https://github.com/sigreen/fis-mft-with-cache/tree/master/syndesis-connector-file2 ) 2. Add a step to upload a file with Box connector. Log shows: "org.apache.camel.RuntimeCamelException: Missing properties for upload, need one or more from [size, created, listener, modified, check] "

    Description

      Working with Claudio Miranda, we found out the problem,

      • syndesis 1.8.6.fuse-750001 uses camel 2.21.0.fuse-750033
      • syndesis 1.8.6 uses camel 2.21.0.fuse-750029

      There was a change introduced in camel 2.21.0.fuse-750033 (you can see the git log https://github.com/jboss-fuse/camel/commits/camel-2.21.0.fuse-750033 search for #1057 PR) that is exactly the camel-box component requires the check parameter.
      However there is the BoxConnector in syndesis 1.8.6.fuse-750001 [1] missed the custom code that adds the check parameter [2]

      1. https://github.com/jboss-fuse/syndesis/blob/syndesis-1.8.6.fuse-750001/app/connector/box/src/main/java/io/syndesis/connector/box/BoxConnector.java

      2. https://github.com/jboss-fuse/syndesis/blob/1.9.x/app/connector/box/src/main/java/io/syndesis/connector/box/BoxConnector.java

      The jira issue is https://issues.redhat.com/browse/ENTESB-11433

      This commit [1] should be backported to a 1.8.x branch and release fuse-online 1.8.6.fuse-xxx

      1. https://github.com/jboss-fuse/syndesis/commit/8ca9001a5e379f51dbf1581b05ffc3edc4e9324f

      Attachments

        Activity

          People

            Unassigned Unassigned
            sigreen Simon Green (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: