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

It is better to disable the action 'Configure Soft Delete Policy...' for the Emulator blob containers node #6257

Open v-xianya opened 1 year ago

v-xianya commented 1 year ago

Storage Explorer Version: 1.27.0-dev Build Number: 20221107.1 Branch: main Platform/OS: Windows 10/Linux Ubuntu 22.04/MacOS Ventura 13.0 (Apple M1 Pro) Architecture: ia32/x64 Azurite Version: 3.20.1 How Found: From running test cases Regression From: Not a regression

Steps to Reproduce

  1. Install and run Azurite -> Launch Storage Explorer.
  2. Expand Emulator & Attached -> Storage Accounts-> (Emulator - Default Ports) (Key).
  3. Right click the Blob Containers node -> Select 'Configure Soft Delete Policy...' -> Check the option 'Enable Soft Delete' -> Click 'Save'.
  4. Create a new blob container -> Upload one file.
  5. Delete the uploaded file -> There is a dialog prompt telling 'Deleted blobs will be retained for 7 days.'.
  6. Click 'Yes' to delete the blob -> Switch to the context view 'Active and soft deleted blobs'.
  7. Check whether there is a soft deleted blob.

Expected Experience

It would be better to disable the action 'Configure Soft Delete Policy...' or indicate that 'Emulator blob container doesn't support'.

Actual Experience

  1. Succeed to configure soft delete policy.
  2. The soft deleted blob is permanently deleted actually.

Additional Context

Related issue: 3076

MRayermannMSFT commented 1 year ago

We let the Azurite team know of this issue and so far they do not see any alarm in the existing behavior. They will supposedly continue to discuss things though.