Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
2.0.0, 2.1.0, 2.0.3
-
None
-
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()