You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Storage Explorer Version: 1.13.1 Build Number: 20200515.1 Platform/OS: Windows 10 Architecture: x64
Bug Description
I use Azurite on my development workstation to emulate blob storage. I have an app that uploads multiples blobs into various virtual directories. Eveything is inside one top-level virtual directory in a container. Storage Explorer fails to delete that top level directory.
Steps to Reproduce
Upload a blob into a container and specify a directory path, such as my_dir/level1/level2/some_file.txt (I use the storage SDK for JavaScript)
Try to delete my_dir (full delete, not a soft delete) from storage explorer
Expected Experience
The some_file.txt blob is deleted and my_dir is no longer shown in the UI
Actual Experience
{
"name": "StorageError",
"message": "The specified blob does not exist.\nRequestId:9ab2902c-81d2-4880-8d8d-b3c99a348e55\nTime:2020-05-27T18:48:32.661Z",
"stack": "StorageError: The specified blob does not exist.\nRequestId:9ab2902c-81d2-4880-8d8d-b3c99a348e55\nTime:2020-05-27T18:48:32.661Z\n at Function.StorageServiceClient._normalizeError (C:\Program Files (x86)\Microsoft Azure Storage Explorer\resources\app\node_modules\azure-storage\lib\common\services\storageserviceclient.js:1205:23)\n at Object.StorageServiceClient._processResponse (C:\Program Files (x86)\Microsoft Azure Storage Explorer\resources\app\node_modules\azure-storage\lib\common\services\storageserviceclient.js:751:50)\n at Request.processResponseCallback [as _callback] (C:\Program Files (x86)\Microsoft Azure Storage Explorer\resources\app\node_modules\azure-storage\lib\common\services\storageserviceclient.js:319:37)\n at Request.self.callback (C:\Program Files (x86)\Microsoft Azure Storage Explorer\resources\app\node_modules\request\request.js:185:22)\n at Request.emit (events.js:182:13)\n at Request. (C:\Program Files (x86)\Microsoft Azure Storage Explorer\resources\app\node_modules\request\request.js:1157:10)\n at Request.emit (events.js:182:13)\n at IncomingMessage. (C:\Program Files (x86)\Microsoft Azure Storage Explorer\resources\app\node_modules\request\request.js:1079:12)\n at Object.onceWrapper (events.js:273:13)\n at IncomingMessage.emit (events.js:187:15)",
"code": "BlobNotFound",
"statusCode": 404,
"requestId": "9ab2902c-81d2-4880-8d8d-b3c99a348e55"
}
Additional Context
azcopy also has an issue with removing a virtual directory using the --recursive flag. If storage explorer is using azcopy under the hood for all delete operations, the bug might actually be in azcopy. See Azure/azure-storage-azcopy#713
The text was updated successfully, but these errors were encountered:
The storagePath param to uploadFileToStorage() could be a single virtual directory name or a path with three dirs like 'dir1/dir2/dir3'. I've attached what the structure of the topmost virtual directory looks like (screen1.png). The top-level one is simply a UUID, then you go down at least two levels before you reach an actual blob, in this case output.log. I would think not having any blobs in the root virtual directory wouldn't matter, it should recursively traverse the entire hierarchy and delete any blob it finds.
Storage Explorer Version: 1.13.1
Build Number: 20200515.1
Platform/OS: Windows 10
Architecture: x64
Bug Description
I use Azurite on my development workstation to emulate blob storage. I have an app that uploads multiples blobs into various virtual directories. Eveything is inside one top-level virtual directory in a container. Storage Explorer fails to delete that top level directory.
Steps to Reproduce
Expected Experience
The some_file.txt blob is deleted and my_dir is no longer shown in the UI
Actual Experience
{
"name": "StorageError",
"message": "The specified blob does not exist.\nRequestId:9ab2902c-81d2-4880-8d8d-b3c99a348e55\nTime:2020-05-27T18:48:32.661Z",
"stack": "StorageError: The specified blob does not exist.\nRequestId:9ab2902c-81d2-4880-8d8d-b3c99a348e55\nTime:2020-05-27T18:48:32.661Z\n at Function.StorageServiceClient._normalizeError (C:\Program Files (x86)\Microsoft Azure Storage Explorer\resources\app\node_modules\azure-storage\lib\common\services\storageserviceclient.js:1205:23)\n at Object.StorageServiceClient._processResponse (C:\Program Files (x86)\Microsoft Azure Storage Explorer\resources\app\node_modules\azure-storage\lib\common\services\storageserviceclient.js:751:50)\n at Request.processResponseCallback [as _callback] (C:\Program Files (x86)\Microsoft Azure Storage Explorer\resources\app\node_modules\azure-storage\lib\common\services\storageserviceclient.js:319:37)\n at Request.self.callback (C:\Program Files (x86)\Microsoft Azure Storage Explorer\resources\app\node_modules\request\request.js:185:22)\n at Request.emit (events.js:182:13)\n at Request. (C:\Program Files (x86)\Microsoft Azure Storage Explorer\resources\app\node_modules\request\request.js:1157:10)\n at Request.emit (events.js:182:13)\n at IncomingMessage. (C:\Program Files (x86)\Microsoft Azure Storage Explorer\resources\app\node_modules\request\request.js:1079:12)\n at Object.onceWrapper (events.js:273:13)\n at IncomingMessage.emit (events.js:187:15)",
"code": "BlobNotFound",
"statusCode": 404,
"requestId": "9ab2902c-81d2-4880-8d8d-b3c99a348e55"
}
Additional Context
azcopy also has an issue with removing a virtual directory using the --recursive flag. If storage explorer is using azcopy under the hood for all delete operations, the bug might actually be in azcopy. See Azure/azure-storage-azcopy#713
The text was updated successfully, but these errors were encountered: