hi
The input SaasTenantConnectionStringsDto
will be normalizer.
prote
public virtual async Task UpdateConnectionStringsAsync(Guid id, SaasTenantConnectionStringsDto input)
{
input = await NormalizedConnectionStringsAsync(input);
}
cted virtual async Task<SaasTenantConnectionStringsDto> NormalizedConnectionStringsAsync(SaasTenantConnectionStringsDto input)
{
if (!await SettingProvider.IsTrueAsync(SaasSettingNames.EnableTenantBasedConnectionStringManagement))
{
return new SaasTenantConnectionStringsDto();
}
if (input == null)
{
input = new SaasTenantConnectionStringsDto();
}
else if (!input.Databases.IsNullOrEmpty())
{
input.Databases = input.Databases
.Where(x => DbConnectionOptions.Databases.Any(d => d.Key == x.DatabaseName && d.Value.IsUsedByTenants))
.Where(x => !x.ConnectionString.IsNullOrWhiteSpace())
.GroupBy(x => x.DatabaseName)
.Select(x => x.First())
.ToList();
}
return input;
}
hi
Can you try to add the database name in appsettings.json file?
Or add it to Databases property of the AbpDbConnectionOptions class.
https://abp.io/docs/latest/framework/fundamentals/connection-strings?_redirected=B8ABF606AA1BDF5C629883DF1061649A#configuring-the-database-structures
hi
Can you share the logs.txt
?
liming.ma@volosoft.com
hi
We will check it. Our team is on holiday and may not be able to reply until Wednesday.
Thanks.
Can you try to configure the IgnoredNavigationEntitySelectors
in 9.1.1
Configure<AbpEntityChangeOptions>(options =>
{
options.IgnoredNavigationEntitySelectors.Add("DisableOpenIddictApplication", type => type == typeof(OpenIddictApplication) || type = typeof(OpenIddictToken));
});
hi
Can you share full logs.txt
file with liming.ma@volosoft.com
we tested using it but the error persisted.
Can you also share the debug logs for 9.1.1? https://abp.io/support/questions/8622/How-to-enable-Debug-logs-for-troubleshoot-problems
Thanks. Your ticket has been refunded.
New packages are released.
Upgrade all volo&abp&lepton
will be easy to solve this problem.
Thanks.
hi
Your project uses memory cache. Are the revoke code and your account on the same website?
Can you share a screenshot of your project structure?
Thanks.
hi
I have checked. >=9.0.5 will fix the problem, see https://github.com/abpframework/abp/pull/22137
Your ticket has been refunded.