Documents Not Showing in Cosmos Emulator
- Dominant language
- TypeScript
- Stars
- 131
- Forks
- 67
- Avg merge
- 3d 13h
- Merged PRs (30d)
- 10
Description
I'm using the Cosmos Emulator (v. 2.11.13.0) to develop locally.
My program works fine with the emulator, but the stored documents don't show up in the document explorer:
[![enter image description here][1]][1]
I can see the documents just fine using Microsoft Azure Storage Explorer (v. 1.16.0):
[![enter image description here][2]][2]
The Cosmos DB Accounts explorer in Storage Explorer is deprecated - which is also why I'm afraid to update it to a newer version.
I can create new documents via the [Azure Cosmos DB Emulator][3] explorer and save them.
Then they show up in the UI:
[![enter image description here][4]][4]
But when I click the update icon, they immediately disappear from the list (though the info is still visible in the details panel):
[![enter image description here][5]][5]
The document continues to exist when viewed in the Storage Explorer.
I've tried doing as clean an install as possible and used multiple different versions:
- I've uninstalled the program via "Apps & Features"
- I've removed all files in
- %LOCALAPPDATA%/CosmosDBEmulator
- %PROGRAMFILES%/Azure Cosmos DB Emulator
- I've tried version:
- 2.11.13
- 2.9.0
- 2.7.2
[1]: https://i.stack.imgur.com/LN0wS.png
[2]: https://i.stack.imgur.com/nj9fj.png
[3]: https://localhost:8081/_explorer/index.html
[4]: https://i.stack.imgur.com/FWEcf.png
[5]: https://i.stack.imgur.com/jJm28.png
Contributor guide
Research direction
Start by reproducing the issue in the Cosmos DB Emulator explorer at https://localhost:8081/_explorer/index.html using the reported emulator versions. Compare documents created or updated in the explorer with those visible in Azure Storage Explorer. Done means documents remain listed after updating and stay consistent across both explorers.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- databases, frontend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100