You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Andrea Cosentino (Jira)" <ji...@apache.org> on 2021/12/20 13:25:00 UTC

[jira] [Updated] (CAMEL-17358) AWS SDK2 Producer does not set the Content Type at all

     [ https://issues.apache.org/jira/browse/CAMEL-17358?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrea Cosentino updated CAMEL-17358:
-------------------------------------
    Fix Version/s: 3.15.0
                   3.11.5
                   3.14.1

> AWS SDK2 Producer does not set the Content Type at all
> ------------------------------------------------------
>
>                 Key: CAMEL-17358
>                 URL: https://issues.apache.org/jira/browse/CAMEL-17358
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-aws2
>    Affects Versions: 3.11.4, 3.14.0
>            Reporter: thanos
>            Assignee: Andrea Cosentino
>            Priority: Major
>              Labels: AWS
>             Fix For: 3.15.0, 3.11.5, 3.14.1
>
>
> Just migrated from Camel AWS SDK1 Producer to SDK2 Producer and our unit tests break because the Content Type of the uploaded object is not set at the PutObjectRequest level but only at the ObjectMetadata object. It appears, after quick comparison between SDK1 and SDK2 that in SDK1 AWS-SDK was happy to take the content type from the metadata while now it expects it to be in the PutObjectRequest field.
>  
> A test case will be uploaded shortly to demonstrate the bug



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