Skip to content
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

BucketsApiImpl.createBucket does not convey schemaType #572

Open
bmaso-dw opened this issue May 30, 2023 · 1 comment
Open

BucketsApiImpl.createBucket does not convey schemaType #572

bmaso-dw opened this issue May 30, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@bmaso-dw
Copy link

Steps to reproduce:
List the minimal actions needed to reproduce the behavior.

  1. issue a BucketsApi.createBucket request with a Bucket object having schemaType explicit
  2. verify that the created bucket has schema type implicit

Expected behavior:

  • Obviously one would expect the bucket to have explicit bucket schema type, not implicit

Actual behavior:

  • The created bucket has implicit schema type

Problem lines of code

  • BucketsApiImpl.createBucket does not correctly invoke PostBucketRequest.schemaType on the request object. (See code here.) So it is basically ignoring the schema type set on the Bucket object.
@bednar
Copy link
Contributor

bednar commented May 31, 2023

Hi @bmaso-dw,

thanks for using our client.

Is this something you would be willing to help with? All PR is welcome and we will be happy to review your submission.

Regards

@bednar bednar added the bug Something isn't working label May 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants