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

Problem in setting acl for existed container . #107

zhangsw opened this Issue Jul 25, 2016 · 0 comments


None yet
2 participants

zhangsw commented Jul 25, 2016

Joss can't make the existed container public using the code below:
Container container = account.getContainer("test-public");
I find that in Openstack ,if the container already exists, the request should be Post. But Joss always send a Put request when we call makePublic().
If the container is not existed, makePublic method will create the container and the container is public. But the sdk will generate the error below:

Command exception, HTTP Status code: 201 => UNKNOWN

I use the code to create the account :

    account = new AccountFactory(config).createAccount();

zhangsw added a commit to zhangsw/joss that referenced this issue Jul 28, 2016

javaswift#107:Fix a bug in setting acl for existed container. Now th…
…e method

 makePublic will send a post request other than a put request to the swift

robert-bor added a commit that referenced this issue Aug 31, 2017

Merge pull request #108 from zhangsw/master
 #107:Fix a bug in setting acl for existed container.

@robert-bor robert-bor closed this Aug 31, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment