<a class="postlink" href="https://keenthemes.com/metronic/changelog.html#v5-1.5">https://keenthemes.com/metronic/changelog.html#v5-1.5</a>
Here one of the fixes is "Bootstrap Select's data-size HTML parameter issue."
Also, on the bootstrap-select documentation they said that Bootstrap 4 is not yet supported.
Hi,
I'm trying to limit the number of elements to be shown in a dropdown using bootstrap-select. According to the documentation, there is a size property, but this is not working properly. It appears this was solved by Metronic in its lates version. Could you provide a solution anytime soon?
[attachment=0:3kmyyz6k]bootstrap-select issue.PNG[/attachment:3kmyyz6k]
Hi, I was having trouble to login into a tenant using a subdomain as I mentioned in this post [https://forum.aspnetboilerplate.com/viewtopic.php?p=28437#p28437]).
My settings look like this
"remoteServiceBaseUrl": "http://{TENANCY_NAME}.mydomain.com/Host",
"appBaseUrl": "http://{TENANCY_NAME}.mydomain.com/Angular"
"ServerRootAddress": "http://{TENANCY_NAME}.mydomain.com/Host",
"ClientRootAddress": "http://{TENANCY_NAME}.mydomain.com/Angular"
Host and Angular are sub-website in IIS.
Apparently in the DomainTenantResolveContributor there is a problem matching the host in the request headers and the multitenancy domain format (which is the ServerRootAddress), and because of that I was only able to login with the host users.
var hostName = httpContext.Request.Host.Host.RemovePreFix("http://", "https://");
var domainFormat = _multiTenancyConfiguration.DomainFormat.RemovePreFix("http://", "https://").Split(':')[0];
var result = new FormattedStringValueExtracter().Extract(hostName, domainFormat, true);
if (!result.IsMatch)
{
return null;
}
var tenancyName = result.Matches[0].Value;
if (tenancyName.IsNullOrEmpty())
{
return null;
}
If I remove the sub-website from ServerRootAddress "http://{TENANCY_NAME}.mydomain.com" I'm able to login into any tenant, but I'm not sure if this is the right way to do it.
Is there any problem if I leave the ServerRootAddress without the sub-website?
You are right, in the demo site there is no Abp.TenantId, but I noticed that when calling GetCurrentLoginInformations it is not returning the tenant info. Is there any configuration that I'm missing?
Left -> demo site, Right -> my site.
if (AbpSession.TenantId.HasValue)
{
output.Tenant = ObjectMapper
.Map<TenantLoginInfoDto>(await TenantManager
.Tenants
.Include(t => t.Edition)
.FirstAsync(t => t.Id == AbpSession.GetTenantId()));
}
Apparently AbpSession.TenantId has no value.
Hi @ismcagdas, I'm having this same issue. Because of this I'm not able to log in into any tenant, only the host. I also have {TENANCY_NAME} in remoteSeriveBaseUrl and ServerRootAddress.
"remoteServiceBaseUrl": "http://{TENANCY_NAME}.mydomain.com/Host",
"appBaseUrl": "http://{TENANCY_NAME}.mydomain.com/Angular"
"ServerRootAddress": "http://{TENANCY_NAME}.mydomain.com/Host",
"ClientRootAddress": "http://{TENANCY_NAME}.mydomain.com/Angular"
I tried on my local machine following the steps in here [https://github.com/aspnetzero/aspnet-zero-core/issues/557])