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

Storage - Blobs Samples Issue #36971

Closed
faynef opened this issue Sep 27, 2023 · 1 comment · Fixed by #37881 or #38021
Closed

Storage - Blobs Samples Issue #36971

faynef opened this issue Sep 27, 2023 · 1 comment · Fixed by #37881 or #38021
Assignees
Labels
Client This issue points to a problem in the data-plane of the library. needs-team-triage This issue needs the team to triage. Storage Storage Service (Queues, Blobs, Files) test-manual-pass

Comments

@faynef
Copy link
Contributor

faynef commented Sep 27, 2023

Section link1, link2, link3, link4:
image
Reason:
The MD5 value specified in the request is invalid. MD5 value must be 128 bits and base64 encoded.

Suggestion:
Update code to

.setContentMd5(MessageDigest.getInstance("MD5").digest("data".getBytes(StandardCharsets.UTF_8))

Section link:
image

Reason:
BlobAsyncClientBase(com.azure.core.http.HttpPipeline, java.lang.String, com.azure.storage.blob.BlobServiceVersion, java.lang.String, java.lang.String, java.lang.String, java.lang.String, ...) has protected access in com.azure.storage.blob.specialized.BlobAsyncClientBase.

Suggestion:
Change BlobAsyncClientBase(com.azure.core.http.HttpPipeline, java.lang.String, com.azure.storage.blob.BlobServiceVersion, java.lang. String, java.lang.String, java.lang.String, java.lang.String, ...) method access permission changed to public, or delete this test code.

Section link:
image

Reason:
BlobClientBase(com.azure.storage.blob.specialized.BlobAsyncClientBase) has protected access in com.azure.storage.blob.specialized.BlobClientBase.

Suggestion:
Change the access permission of the BlobClientBase(com.azure.storage.blob.specialized.BlobAsyncClientBase) method in the com.azure.storage.blob.specialized.BlobClientBase class to public, or delete this test code.

Section link:
image

Reason:
BlobClient(com.azure.storage.blob.BlobAsyncClient) has protected access in com.azure.storage.blob.BlobClient.

Suggestion:
Change the access permission of the BlobClient(com.azure.storage.blob.BlobAsyncClient) method in the com.azure.storage.blob.BlobClient class to public, or delete this test code.

Section link:
image

Reason:
BLOB_MAX_UPLOAD_BLOCK_SIZE is not public in com.azure.storage.blob.BlobAsyncClient. Cannot be accessed from outside package.

Suggestion:
Change the access permission of the BlobAsyncClient.BLOB_MAX_UPLOAD_BLOCK_SIZE method in the com.azure.storage.blob.BlobClient class to public, or delete this test code.

@sandeep-sen , @joshfree , @rohit-ganguly , @kasobol-msft and @alzimmermsft to notification.

@github-actions github-actions bot added Client This issue points to a problem in the data-plane of the library. customer-reported Issues that are reported by GitHub users external to the Azure organization. needs-team-triage This issue needs the team to triage. question The issue doesn't require a change to the product in order to be resolved. Most issues start as that Storage Storage Service (Queues, Blobs, Files) labels Sep 27, 2023
@v-xuto v-xuto added test-manual-pass and removed question The issue doesn't require a change to the product in order to be resolved. Most issues start as that customer-reported Issues that are reported by GitHub users external to the Azure organization. labels Sep 27, 2023
@ibrahimrabab ibrahimrabab self-assigned this Nov 30, 2023
@faynef
Copy link
Contributor Author

faynef commented Dec 11, 2023

@ibrahimrabab Based on the latest code testing, the issue4 still exists and has not been fixed.
image

@v-xuto v-xuto reopened this Dec 11, 2023
@github-actions github-actions bot locked and limited conversation to collaborators Mar 11, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Client This issue points to a problem in the data-plane of the library. needs-team-triage This issue needs the team to triage. Storage Storage Service (Queues, Blobs, Files) test-manual-pass
Projects
None yet
3 participants