-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
[BUG] CopyStatus is not correct when the blob is not a copied blob #25634
Comments
Thank you for your feedback. This has been routed to the support team for assistance. |
@jeffhli We are looking into this and get back to you. |
@jeffhli , Could you please share the code that you are using to retrieve the copy status? I am using the below method to retrieve the properties of the uploaded blob but that doesn't give me the copy status |
Then the result is Copy status: Pending |
@jeffhli , Thanks for your response. I am able to reproduce the issue at my end. We will triage and let you know the progress. |
Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @xgithubtriage. Issue DetailsLibrary name and versionAzure.Storage.Blobs 12.11.0 Describe the bugNow I have a blob that is uploaded to a container in a storage account. But when I get the blob properties and check the CopyStatus, the value is Pending which is odd that the blob is not a copied blob and is not being copied. Expected behaviorFor a blob that is not being copied, The CopyStatus should be null. Actual behaviorPending Reproduction Steps
EnvironmentNo response
|
This appears to be a similar issue to #19263. While the poster of that issue was assuming the object would update, they ended up hitting this situation after making recommended changes. I have reproduced this issue with the provided sample, and it stems from This also means there's no clean way to fix this issue without introducing a breaking API change. While a boolean flag could be introduced alongside the property, that is a less-than-desirable API design. Will discuss this with the team. |
Library name and version
Azure.Storage.Blobs 12.11.0
Describe the bug
Now I have a blob that is uploaded to a container in a storage account. But when I get the blob properties and check the CopyStatus, the value is Pending which is odd that the blob is not a copied blob and is not being copied.
Expected behavior
For a blob that is not being copied, The CopyStatus should be null.
Actual behavior
Pending
Reproduction Steps
Environment
No response
The text was updated successfully, but these errors were encountered: