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
365 stars 85 forks source link

Fail to upload a vhd file to one resource group with an error 'Unhandled exception' #7847

Closed v-xianya closed 2 months ago

v-xianya commented 3 months ago

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

Bug Descriptions

  1. Fail to upload a vhd file to one resource group.
  2. Fail to download one disk from one resource group. image

Steps to Reproduce

  1. Expand 'Disks' node -> Open one resource group.
  2. Click 'Upload' -> Select one vhd file to upload.
  3. Check whether the file is uploaded successfully.

Expected Experience

The file is uploaded successfully. image

Actual Experience

Fail to upload the file.

image

Error details: An unhandled exception occurred while attempting to complete this operation: { "name": null, "message": "{\"type\":\"Unhandled\",\"error\":\"{\\n \\\"name\\\": \\\"TypeError\\\",\\n \\\"message\\\": \\\"Cannot read properties of undefined (reading 'toString')\\\",\\n \\\"stack\\\": \\\"TypeError: Cannot read properties of undefined (reading 'toString')\\\\n image

MRayermannMSFT commented 2 months ago

@v-xianya do you still reproduce this? If so, can you share the vhd file you are using to reproduce?

v-xianya commented 2 months ago

Verified this issue on the main build 20240411.1. Not reproduce. So, we are going to close it.