[BUG] Call BlobAccessPolicy.StartsOn on a policy without Start Time, will make progress crash and exist #14455
Labels
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-attention
Workflow: This issue needs attention from Azure service team or SDK team
question
The issue doesn't require a change to the product in order to be resolved. Most issues start as that
Service Attention
Workflow: This issue is responsible by Azure service team.
Storage
Storage Service (Queues, Blobs, Files)
Describe the bug
Please provide the description of issue you're seeing.
On "Azure.Storage.Blobs" Version="12.5.1", when try to call BlobAccessPolicy.StartsOn on a policy without Start/Expire Time, The whole process will crash and exist, even try catch can't catch the exception.
This a regression from 12.5.0-preview.6
Expected behavior
What is the expected behavior?
It seems BlobAccessPolicy.StartsOn is replaced with "PolicyStartsOn". If so, we should make build fail when use "StartsOn", or make the "StartOn" still work although not suggest to use.
Actual behavior (include Exception or Stack Trace)
What is the actual behavior?
Currently:
To Reproduce
Steps to reproduce the behavior (include a code snippet, screenshot, or any additional information that might help us reproduce the issue)
Following code can repro the issue:
Environment:
dotnet --info
output for .NET Core projects): [e.g. Azure AppService or Windows 10 .NET Framework 4.8]VS 15.7.4
The text was updated successfully, but these errors were encountered: