-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ObjectListOption.prefix() returns nothing #3
Comments
We haven't updated the Android library for more than 3 months. We plan update for next week. Hopefully, this would be something we fixed lately because I don't recall such an issue in our Go library. |
Okay so with the same code and encryption key, It loads the initial list like before, but now when trying to load objects with the prefix "/" i get an exception |
Yes, this happens with the latest 0.12.0 release. Updating the Android libraries to latest changes did not resolve the issue, it just changed the erroneous behavior. We have issues with some corners cases with leading and trailing slashes. We are working on finding a good solution. I will update here when we have a working solution. BTW, I am curious to hear about your use case that requires a leading slash for the files in the bucket. |
The only reason I made the path that way is because its how paths on linux are described |
If I upload an object with the options
path = /test/filename.jpeg
and path/test/again/filename.jpg
then they do not seem to be correctly returned. When i callbucket.listObjects()
, I get back aObjectInfo
that haspath = /
. If I then callbucket.listObject(ObjestListOption.prefix("/"))
, I get back no results. Is there a bug in the code or am I doing something wrong?I imagine it all to be like the following analogy. A bucket is a hard drive in a computer. You can have multiple hard drives. A path is a specified location in that hard drive, and the full path will always be unique among files.
The text was updated successfully, but these errors were encountered: