Request with "path" query does not return all the appropriate objects
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Object Storage (swift) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
I have a container which holds objects with the following names:
complex/
complex/
simple/
simpleThree///
simpleToo//
Each of these is a simple object of zero bytes with a content type of "application/
If I make a request to retrieve the list of objects in the container I receive the expected list containing all the objects above.
If I add a "path" query to the request where the value of the path is the empty string, I only receive one of those objects, the one named "simple/".
Since there are no objects of type "application/
I'm using the Swift "Diabolo Release" as released on September 22. (Swift 1.4.3?)
description: | updated |
description: | updated |
I submitted a patch to the docs in Bexar because it was confusing, and current docs doesn't help too much either :)
http:// docs.openstack. org/bexar/ openstack- object- storage/ developer/ content/ ch03s02. html#d5e514
Just in case it helps, let's get following files:
directory different- file
directory/file
another/
... beingfile and different-file text/plain and directory application/ directory (a directory marker).
The JSON output of delimiter="/" and prefix="":
[ directory' , ef66e7dff9f9876 4da', 02T13:11: 17.417520' ,
{'subdir': 'another/'},
{'bytes': 0,
'content_type': 'application/
'hash': 'cfcd208495d565
'last_modified': '2012-02-
'name': 'directory'},
{'subdir': 'directory/'}
]
That's equivalent to empty path, that uses / as delimiter.