You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@jclouds.apache.org by "Andrew Gaul (JIRA)" <ji...@apache.org> on 2016/07/20 20:58:20 UTC
[jira] [Resolved] (JCLOUDS-1144) BlobStore::blobMetadata always
returns null for Google Cloud Storage ...
[ https://issues.apache.org/jira/browse/JCLOUDS-1144?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andrew Gaul resolved JCLOUDS-1144.
----------------------------------
Resolution: Fixed
Assignee: Andrew Gaul
Fix Version/s: 2.0.0
[~timuralp] fixed this via in JCLOUDS-1008. Unfortunately this change is too risky to backport so I suggest you avoid / characters or upgrade to 2.0.0-SNAPSHOT.
> BlobStore::blobMetadata always returns null for Google Cloud Storage ...
> ------------------------------------------------------------------------
>
> Key: JCLOUDS-1144
> URL: https://issues.apache.org/jira/browse/JCLOUDS-1144
> Project: jclouds
> Issue Type: Bug
> Components: jclouds-labs-google
> Affects Versions: 1.9.2
> Environment: JDK 1.8
> Reporter: Udayakumar Dhansingh
> Assignee: Andrew Gaul
> Labels: google-cloud-storage
> Fix For: 2.0.0
>
> Attachments: jclouds.bug_reporting.tests.zip
>
>
> final BlobMetadata blobMetadata = blobStore.blobMetadata(containerName, blobStorePath);
> ContentMetadata contentMetadata = blobMetadata.getContentMetadata(); // This statement will throw NullPointerException when run with Google Cloud Storage.
> Upon listing objects using
> blobStore.list(containerName, (recursive) ? listContainerOptions.recursive() : listContainerOptions);
> I can see metadata through "StorageMetadata"
> Looks like bug is in blobMetadata.
> I've attached test code. TestGoogleCloudStorageService fails; expected result is for that to pass.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)