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 21:05:20 UTC

[jira] [Updated] (JCLOUDS-1144) BlobStore::blobMetadata returns null for with / characters with GCS

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

Andrew Gaul updated JCLOUDS-1144:
---------------------------------
    Summary: BlobStore::blobMetadata returns null for with / characters with GCS  (was: BlobStore::blobMetadata always returns null for Google Cloud Storage ...)

> BlobStore::blobMetadata returns null for with / characters with GCS
> -------------------------------------------------------------------
>
>                 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)