Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Duplicate
-
None
-
None
-
None
Description
When you do a "list" on a folder, depending do you ask for blob metadata or not, you get different results. If you DO ask for metadata too, you will get only blobs in result, while if you DO NOT ask for metadata, you will get blobs and sub-folders too in result.
I suspect that the reason of this is the predicate filtering (input.getType() == StorageType.BLOB) in class FetchBlobMetadata.
I guess it may be optimised to not call into blobstore.blobMetadata for input.getType() != StorageType.BLOB?