we need to use user information ( like user name, last name, etc ) in our queries - this only works if the user is on the same context.
so this moves also LinkUser and ClaimType to the tenant context :/ is there Identitydbcontext for user information (IdentityUser) only ?
thanks, you can ask @maliming for the example project ( its an almost empty project, generated by abp suite 6.0 ) - have sent it to his email
.... 0. ( adjust connection string for your setup )
have sent you an email
Blazor Server
When accessing the "Claim Types" or "Linked accounts" page, you get an exception ( see [1] and [2] ). Looks like these pages are not working if you use separated tenant schema ( tested with default admin account )
[1] Claim Types exception https://pastebin.com/MaEEQeXb
[2] Linked Account exception https://pastebin.com/rZ2SxkBs
Hi,
the footer is empty - it does work for the "my account" and "login" page but no other page does have a footer. ( the footer area is there but empty - see added image ) It looks like the auto generated footer "MainFooterComponent" is not used - we tried to override/replace Footer (Volo.Abp.AspNetCore.Components.Web.LeptonXTheme.Components.ApplicationLayout.TopMenu) but same result
beside that, there are some problems with the breadcrums.
we would check against the samples, but its not possible to download any commercial sample without an active license
Hi, we tried to update to from 6.0.1 to 6.0.2 - it works but all LeptonX packages still reference 6.0.1 packages. ( it breaks HotReload )
packages: Volo.Abp.AspNetCore.Mvc.UI.Theme.LeptonX Volo.Abp.AspNetCore.Components.Server.LeptonXTheme Volo.Abp.AspNetCore.Components.Web.LeptonXTheme Volo.Abp.AspNetCore.LeptonX.Shared
Workaround: you can fix this by directly reference packages that are only used by leptonX ( in our case it is Volo.Abp.AspNetCore.Mvc.UI.MultiTenancy only )
LeptonX has "system" as default and system refer to "light" and "dark" ( hardcoded in js code ).
we had a similar problem when trying to override "dark" and "light". our solution was to redirect these url's.
private void RedirectTheme( IApplicationBuilder app, string file, bool boostrap = false )
{
const string originalPath = "/_content/Volo.Abp.AspNetCore.Components.Web.LeptonXTheme/side-menu/css/";
const string targetPath = "/themes/";
const string bootstrap = "bootstrap-";
RedirectFile( app, originalPath + file, targetPath + file );
if( boostrap )
{
RedirectFile( app, originalPath + bootstrap + file, targetPath + bootstrap + file );
}
}
private void RedirectFile( IApplicationBuilder app, string originalPath, string targetPath )
{
app.Map( originalPath, redirectBuilder => redirectBuilder.Run( request =>
{
request.Response.Redirect( targetPath );
return Task.CompletedTask;
} ) );
}
found out: its only copied if you use correct path, _content/{PackeId}/{Path}
not sure why you dont need to specify _conent in main project but it works