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 2019/01/28 10:16:00 UTC
[jira] [Resolved] (CAMEL-13132) uploadBlobBlocks and
commitBlobBlockList operations does not work with List
[ https://issues.apache.org/jira/browse/CAMEL-13132?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andrea Cosentino resolved CAMEL-13132.
--------------------------------------
Resolution: Fixed
> uploadBlobBlocks and commitBlobBlockList operations does not work with List
> ----------------------------------------------------------------------------
>
> Key: CAMEL-13132
> URL: https://issues.apache.org/jira/browse/CAMEL-13132
> Project: Camel
> Issue Type: Bug
> Components: camel-azure
> Affects Versions: 2.21.2
> Reporter: Andrey Poltavtsev
> Assignee: Andrea Cosentino
> Priority: Major
> Fix For: 2.21.5, 3.0.0, 2.23.2, 2.24.0, 2.22.4
>
>
> This is problematic code on 2.21.2:
> [https://github.com/apache/camel/blob/release/2.21.2/components/camel-azure/src/main/java/org/apache/camel/component/azure/blob/BlobServiceProducer.java#L160]
> the same issue for "commitBlobBlockList":
> [https://github.com/apache/camel/blob/release/2.21.2/components/camel-azure/src/main/java/org/apache/camel/component/azure/blob/BlobServiceProducer.java#L192]
>
> it is necessary to replace it by "blobBlocks = (List<BlobBlock>)object;" and by "blockEntries = (List<BlockEntry>)object;" correspondingly
>
> In master problematic code is more strange, but can be resolved in the same way:
> [https://github.com/apache/camel/blob/master/components/camel-azure/src/main/java/org/apache/camel/component/azure/blob/BlobServiceProducer.java#156]
> and the same issue for "commitBlobBlockList":
> [https://github.com/apache/camel/blob/master/components/camel-azure/src/main/java/org/apache/camel/component/azure/blob/BlobServiceProducer.java#L188]
>
>
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)