azuredatastudio: Create project from database UI doesn't populate databases if not started from database context
When you connect to a server with no database specified (Database: <default>
), then calls to azdata.connection.listDatabases(connectionId)
only returns `[master].
If you connect to a server with a specific database selected (master, any user db) then listDatbases()
returns correct info.
This appears to be consistent across everywhere data developer extensions call this API (all of Schema Compare, SQL Database Projects, Dacpac extensions).
About this issue
- Original URL
- State: closed
- Created a year ago
- Comments: 15 (15 by maintainers)
@aasimkhan30 is preparing a PR to fix the bug we found while debugging! Help is on the way…🚨