mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-24 09:35:37 -05:00
Fix issue with SQL Database Projects unable to connect due to default encryption (#21010)
This commit is contained in:
@@ -47,7 +47,6 @@ export class ConnectionProfile extends ProviderConnectionInfo implements interfa
|
||||
this.groupFullName = model.groupFullName;
|
||||
this.savePassword = model.savePassword;
|
||||
this.saveProfile = model.saveProfile;
|
||||
|
||||
this.azureTenantId = model.azureTenantId;
|
||||
|
||||
// Special case setting properties to support both IConnectionProfile and azdata.connection.ConnectionProfile
|
||||
@@ -68,6 +67,13 @@ export class ConnectionProfile extends ProviderConnectionInfo implements interfa
|
||||
let appNameKey = appNameOption.name;
|
||||
this.options[appNameKey] = Constants.applicationName;
|
||||
}
|
||||
// Set values for advanced options received in model.
|
||||
Object.keys(model.options).forEach(a => {
|
||||
let option = options.find(opt => opt.name === a);
|
||||
if (option !== undefined) {
|
||||
this.options[option.name] = model.options[a];
|
||||
}
|
||||
});
|
||||
}
|
||||
if (model.options.registeredServerDescription) {
|
||||
this.registeredServerDescription = model.options.registeredServerDescription;
|
||||
|
||||
Reference in New Issue
Block a user