microsoft / microsoft/AzureStorageExplorer

Make the error details helpful when executing 'Overwrite' action in one attached blob container with SAS permissions (List, Create)

Open
#4,497 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

:beetle: azcopy error reporting :gear: azcopy :gear: blobs :gear: sas :test_tube: testing
Dominant language
No language data
Stars
452
Forks
92
Avg merge
15h 20m
Merged PRs (30d)
3

Description

Storage Explorer Version: 1.20.0-dev
Build Number: 20210526.7
Branch: main
Platform/OS: Windows 10/ Linux Ubuntu 18.04/ MacOS Big Sur 11.3
Architecture: ia32/x64
How Found: From running test case
Regression From: Not a regression

Bug Description

When executing 'Overwrite' action in one SAS attached blob container with permissions 'List, Create'/'List, Read, Create', display 'error: UnexpectedCancel' both in the activity log and Error Details dialog.

Steps to Reproduce

  1. Select and right click one blob container -> Click 'Get Shared Access Signature... '.
  2. Select permissions 'List, Create' to create a SAS -> Copy the SAS.
  3. Attach the blob container with the SAS.
  4. Upload one blob to the SAS attached blob container -> Upload the blob again.
  5. Check whether there is a helpful error in the activity log and Error Details dialog.

Expected Experience

There is a helpful error.

Actual Experience

There is no helpful error. Display 'error: UnexpectedCancel'.
image
image

Additional Context

Here is the AzCopy Log:
ae7d78d6-0c69-0943-782b-072c1c02ebed.log

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the overwrite flow using a blob container attached with a SAS granting List and Create, following the listed steps. Start by reading the linked AzCopy log and compare it with the activity log and Error Details dialog; done means the UnexpectedCancel result is replaced by a helpful error in both places.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure
Domain
cloud
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.