AzureStorageExplorer
AzureStorageExplorer copied to clipboard
Open Container by Name feature does not search all containers
Preflight Checklist
- [X] I have installed the latest version of Storage Explorer.
- [X] I have checked existing resources, including the troubleshooting guide and the release notes.
- [X] I have searched for similar issues.
Storage Explorer Version
1.35.0
Regression From
No response
Architecture
x64
Storage Explorer Build Number
20240810.1
Platform
All
OS Version
No response
Bug Description
When I search for a container using the Open Container by Name feature from the tree view, it seems like it will only search the containers loaded in the tree view. When I use the View All feature, I can search for all of my containers.
Steps to Reproduce
- Launch explorer
- Go to Blob Containers node of a storage account
- Select Open Container by Name
- Search for container that exists
Actual Experience
- Message is displayed: "No results were found"
- Be scared shitless because you think your data is gone
Expected Experience
I expect Open Container by Name to search within all containers in your storage account, and not some subset.
Additional Context
We have hundreds of containers of which the names are basically GUIDs.
@marcelvb Open Container by Name does indeed search all containers in your account, not a subset. What search terms were you using, and what were the names of the containers you were expecting to see? Please note that it searches containers by prefix. This is due to a limitation of the List Containers API only searching by prefix. Anything more than that would require client-side functionality and has a detrimental effect on performance. Also check your casing. I'm not sure if prefix search is case sensitive.
Workaround that seems to do the job is to click on View All first. After that Open Container by Name seems to work fine.
@ebudimlic Are you saying you also experience this issue? Can you share a GIF or video of you reproducing the issue? I am not able to reproduce on my end.