Uploaded image for project: 'jclouds'
  1. jclouds
  2. JCLOUDS-1144

BlobStore::blobMetadata returns null for with / characters with GCS

    XMLWordPrintableJSON

    Details

      Description

      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.

        Attachments

        1. jclouds.bug_reporting.tests.zip
          67 kB
          Udayakumar Dhansingh

          Issue Links

            Activity

              People

              • Assignee:
                gaul Andrew Gaul
                Reporter:
                udhansingh Udayakumar Dhansingh
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: