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

StorageType not maintained by filesystem BlobStore

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 2.0.0, 2.1.0, 2.0.3
    • None
    • jclouds-blobstore
    • None
    • Windows7

    Description

      The directory related methods on BlobStore are deprecated, so I am trying to update to the new directory-less scheme. However, when I do the following, 

      Blob dirBlob = blobStore.blobBuilder("some/path/").type(StorageType.FOLDER).build();
      blobStore.putBlob(containerName, dirBlob);
      
      BlobMetadata fetchedMeta = blobStore.blobMetadata(containterName, "some/path/");
      StorageType fetchedType = fetchedMeta.getType();

      fetchedType (BLOB) does not match the type on dirBlob (FOLDER)

      One place this causes problems is when these directories appear as normal blobs when doing a BlobStore.list()

       

      Attachments

        Activity

          People

            Unassigned Unassigned
            russell@klopfer.us Russell Klopfer
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: