Starts in:
0 DAY
23 HRS
30 MIN
15 SEC
Starts in:
0 D
23 H
30 M
15 S

Activities of "hardip"

Did not fix the issue

hi

public virtual async Task OnGetAsync() 
{ 
    //ReturnUrl = GetRedirectUrl(ReturnUrl, ReturnUrlHash); 
    ReturnUrl = _configuration["App:BlazorUrl"]; 
 
    //TODO: It would be good to try to switch tenant if needed 
    //CheckCurrentTenant(TenantId); 
    using(CurrentTenant.Change(TenantId)) 
    { 
        await _accountAppService.ConfirmEmailAsync(new ConfirmEmailInput {UserId = UserId, Token = ConfirmationToken}); 
    } 
} 

thank you, will test this.

hi

Please the code of TVD_Holdings_Ltd.AvalancheOCP.HttpApi.Host\Pages\Account\EmailConfirmation.cshtml.cs as well.

Thanks.

   at Volo.Abp.Account.Public.Web.Pages.Account.AvalancheOCPEmailConfirmationModel.OnGetAsync() in D:\Source\AvalancheOCP\Dev\src\TVD_Holdings_Ltd.AvalancheOCP.HttpApi.Host\Pages\Account\EmailConfirmation.cshtml.cs:line 46 

Sent in mail

hi

I will confirm it.

Can you share the logs of backend? liming.ma@volosoft.com

Yes, sent mail(Subject - Confirm Email Link Error) with log file and details of the user id, time of the error.

  • ABP Framework version: v7.1
  • UI type:Blazor
  • DB provider: EF Core
  • **Tiered (MVC) **: yes
  • Exception message and stack trace: 404 Page not found. There is no entity IdentityUser with id = 3a0aeddd-c241-6619-17e4-c64fd1017f7f!
  • Steps to reproduce the issue:" Creating user from tenant side, the confirm email link gives the error : 404 Page not foundThere is no entity IdentityUser with id = 3a0aeddd-c241-6619-17e4-c64fd1017f7f!

When creating new user from the Host side the confirm email link works fine, but creating user from tenant side, the confirm email link does not work and gives the error

404 Page not foundThere is no entity IdentityUser with id = 3a0aeddd-c241-6619-17e4-c64fd1017f7f! \

Using the abp.io default components, does not extend/modify the account or user components.

refer :

Hi,

You can try :

MyGeneralSettings

@using Volo.Abp.DependencyInjection 
@using Volo.Abp.AspNetCore.Components.Web.LeptonXTheme.Components.ApplicationLayout.Common 
@using System.Globalization 
@using Microsoft.Extensions.Localization 
@using Volo.Abp.LeptonX.Shared.Localization 
 
@inject IStringLocalizer<LeptonXResource> L 
 
 
@inherits GeneralSettings 
@attribute [ExposeServices(typeof(GeneralSettings))] 
@attribute [Dependency(ReplaceServices = true)] 
 
 
<div class="lpx-settings" id="lpx-settings"> 
 
  @if (HasMultipleStyles) 
  { 
  	<div id="appearance" class="setting-icon" data-lpx-setting-icon="appearance" data-lpx-setting-id="settings-context-menu"> 
  		 
  	</div> 
  } 
 
  @if (HasContainerWidth) 
  { 
  	<div id="containerWidth" class="setting-icon" data-lpx-setting-icon="containerWidth" 
  	data-lpx-setting-id="settings-context-menu"> 
  		<div class="setting"> 
  			<i class="bi bi-layout-three-columns"></i> 
  		</div> 
  	</div> 
  } 
 
  <div id="language" class="setting-icon" data-lpx-setting-icon="language" 
  	data-lpx-setting-id="settings-context-menu"> 
  	<div class="setting"> 
  		@CurrentLanguageTwoLetters 
  	</div> 
  </div> 
 
  <div class="setting-icon"> 
  	<i class="bi bi-gear-wide-connected" aria-hidden="true" data-lpx-ctx-toggle="settings-context-menu"></i> 
  </div> 
  <div class="lpx-context-menu" data-lpx-context-menu="settings-context-menu"> 
  	<ul class="lpx-nav-menu" id="settings-routes"> 
  		<li class="outer-menu-item"> 
  			<a class="lpx-menu-item-link lpx-menu-item"> 
  				<span class="lpx-menu-item-icon"> 
  					<i class="lpx-icon outer-icon bi bi-gear-wide-connected" aria-hidden="true"></i> 
  				</span> 
  				<span class="lpx-menu-item-text">@L["GeneralSettings"]</span> 
  				<span data-lpx-close="settings-context-menu"> 
  					<i class="lpx-icon bi bi-x outer-icon dd-icon" aria-hidden="true"></i> 
  				</span> 
  			</a> 
  		</li> 
 
  		@if (HasMultipleStyles) 
  		{ 
  			<li class="outer-menu-item" hidden> 
  				<a class="lpx-menu-item-link lpx-menu-item" data-lpx-setting-group="appearance"> 
  				 
  				</a> 
  				 
  			</li> 
  		} 
  		@if (HasContainerWidth) 
  		{ 
  			<li class="outer-menu-item"> 
  				<a class="lpx-menu-item-link lpx-menu-item" data-lpx-setting-group="containerWidth"> 
  					<span class="lpx-menu-item-icon"> 
  						<i class="lpx-icon bi bi-aspect-ratio" aria-hidden="true"></i> 
  					</span> 
 
  					<span class="lpx-menu-item-text hidden-in-hover-trigger">@L["ContainerWidth"]</span> 
 
  					<i class="dd-icon hidden-in-hover-trigger lpx-caret bi-chevron-down" aria-hidden="true"></i> 
  				</a> 
 
  				<ul class="lpx-inner-menu hidden-in-hover-trigger collapsed" data-id="containerWidth"> 
  					<li class="lpx-inner-menu-item"> 
  						<a class="lpx-menu-item-link lpx-menu-item" data-lpx-setting="boxed"> 
  							<span class="lpx-menu-item-icon"><i class="lpx-icon bi bi-square" 
  								aria-hidden="true"></i></span> 
 
  							<span class="lpx-menu-item-text hidden-in-hover-trigger">@L["ContainerWidth:Boxed"]</span> 
  						</a> 
  					</li> 
 
  					<li class="lpx-inner-menu-item"> 
  						<a class="lpx-menu-item-link lpx-menu-item selected" data-lpx-setting="full"> 
  							<span class="lpx-menu-item-icon"> 
  								<i class="lpx-icon bi bi-layout-three-columns" aria-hidden="true"></i> 
  							</span> 
 
  							<span 
  							class="lpx-menu-item-text hidden-in-hover-trigger">@L["ContainerWidth:FullWidth"]</span> 
  						</a> 
  					</li> 
  				</ul> 
  			</li> 
  		} 
 
  		<li class="outer-menu-item"> 
  			<a class="lpx-menu-item-link lpx-menu-item" data-lpx-setting-group="language"> 
  				<span class="lpx-menu-item-icon"><i class="lpx-icon bi bi-globe" aria-hidden="true"></i></span> 
 
  				<span class="lpx-menu-item-text hidden-in-hover-trigger">@L["Language"]</span> 
 
  				<i class="dd-icon hidden-in-hover-trigger lpx-caret bi-chevron-down" aria-hidden="true"></i> 
  			</a> 
 
  			<ul class="lpx-inner-menu hidden-in-hover-trigger collapsed" data-id="language"> 
  				@if (HasLanguages) 
  				{ 
  					@foreach (var language in Languages) 
  					{ 
  						<li class="lpx-inner-menu-item"> 
  							<a class="lpx-menu-item-link@(language.CultureName == CurrentLanguage.CultureName ? " selected" : string.Empty)" 
  						@onclick="() => ChangeLanguageAsync(language)"> 
  								<span class="lpx-menu-item-text hidden-in-hover-trigger">@language.DisplayName / @(new 
  							CultureInfo(language.CultureName).TwoLetterISOLanguageName.ToUpper())</span> 
  							</a> 
  						</li> 
  					} 
  				} 
  			</ul> 
  		</li> 
  	</ul> 
  </div> 
</div> 
 

thank you, liangshiwei

  • ABP Framework version: v7.1
  • UI type: Blazor
  • DB provider: EF Core
  • Tiered (MVC): yes
  • Exception message and stack trace:
  • Steps to reproduce the issue:"

I want to remove the theme change option from the menutoolbar.

I tried to override the MainHeaderToolbar component and remove it from there. The List<RenderFragment>(); only has two object, one is "MainHeaderToolbarUserMenu" and other "GeneralSettings". It renders the "GeneralSettings" component altogether.

So how to remove the theme change option inside from it.

Hi,

I have updated the code: https://gist.github.com/realLiangshiwei/f3b8c51c576a10ac220d11a6b0dc2cfe

 context.Menu.AddItem( 
    new ApplicationMenuItem( 
        MyProjectNameMenus.HostDashboard, 
        l["Menu:Dashboard"], 
        "/HostDashboard", 
        icon: "fa fa-chart-line", 
        order: 2 
    ).RequirePermissions(MyProjectNamePermissions.Dashboard.Host) 
        .WithCustomData("data-bs-placement", TooltipPlacement.Top) 
        .WithCustomData("data-bs-title", "Hello world") 
 
); 

liangshiwei, it worked great, thanks a lot man.

  • ABP Framework version: v7.1.0
  • UI type: Blazor
  • DB provider: EF Core
  • Tiered (MVC): yes
  • Exception message and stack trace:
  • Steps to reproduce the issue:"

Does abp.io blazor have a feature of clearing all the cache of the all users/tenants from host tenant like in asp.net zero https://docs.aspnetzero.com/en/aspnet-core-mvc/latest/Features-Mvc-Core-Maintenance

I looked at the documentation of the abp.io but did not find it. Can we add this to abp.io blazor as well?

BlazorWASM

Showing 21 to 30 of 37 entries
Made with ❤️ on ABP v9.1.0-preview. Updated on November 20, 2024, 13:06