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

StorageType not maintained by filesystem BlobStore

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 2.0.0, 2.1.0, 2.0.3
    • Fix Version/s: None
    • Component/s: jclouds-blobstore
    • Labels:
      None
    • Environment:
      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

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

              Dates

              • Created:
                Updated: