microsoft / AzureStorageExplorer

Easily manage the contents of your storage account with Azure Storage Explorer. Upload, download, and manage blobs, files, queues, tables, and Cosmos DB entities. Gain easy access to manage your virtual machine disks. Work with either Azure Resource Manager or classic storage accounts, plus manage and configure cross-origin resource sharing (CORS) rules.
Creative Commons Attribution 4.0 International
364 stars 85 forks source link

Fail to upload/download/delete/clone/paste items in one OAuth attached blob container #7975

Closed v-kellyluo closed 2 weeks ago

v-kellyluo commented 4 weeks ago

Storage Explorer Version: 1.35.0-dev (98) Build Number: 20240531.1 Branch: main Platform/OS: Windows 11/Windows 10/Linux Ubuntu 22.04/MacOS Sonoma 14.5(Apple M1 Pro) Architecture: arm64/x64/x64/arm64 How Found: From running test cases Regression From: Previous release (1.34.0)

Steps to Reproduce

  1. Expand one storage account -> Blob Containers.
  2. Select one blob container -> Attach the blob container via OAuth.
  3. Open the attached blob container -> Try to upload one blob.
  4. Check whether succeeds to upload the blob.

Expected Experience

Succeed to upload the blob.

Actual Experience

Fail to upload the blob with an error. image "\"failed to perform copy command due to error: get token from environment variable failed to unmarshal token, json: cannot unmarshal string into Go struct field OAuthTokenInfo._token_refresh_source of type common.AutoLoginType\""

Additional Context

  1. This issue also reproduces if download/paste/clone blobs.
  2. The below error displays if delete blobs: image
v-xianya commented 2 weeks ago

Verified this issue on the main build 20240614.1. Fixed.