Starts in:
1 DAY
16 HRS
22 MIN
35 SEC
Starts in:
1 D
16 H
22 M
35 S

Activities of "Leonardo.Willrich"

  • ABP Framework version: v4.3.0-rc.2
  • UI type: Blazor
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): yes / no
  • Exception message and stack trace:
  • Steps to reproduce the issue:

Hi, even previous versions (4.2.1) in my machine the ABP Suite command doesn't shut down when pressing CTRL + C. I've tried it on Package Manager Console and pressing the stop button, but also it hangs as the image below:

Also, it seems that the CurrentUser.IsAuthenticated is not working properly. After login, the user is redirected to the Index page, but it get into a loop redirecting to the same page over and over again.

I've added a console message to debug it:

protected override void OnInitialized()
        {
            if (!CurrentUser.IsAuthenticated)
            {
                Console.WriteLine("Redirecting to Login");
                NavigationManager.NavigateTo("/authentication/login");
            }
        }

My console:

Well, it worked partially. When the user logs out, the application is redirected for a different page. I think I should do the same, I just need to know where I can find this page:

@liangshiwei

Perfect! I think that does the trick.

Answer

It's not working for me, I am getting this error below. I am located in New Zealand.

Through command, it got stuck on downloading message. I don't believe it is too big. If I remove --preview, it creates the project really fast, I believe it is already cached.

I am really trying my best to download that, but getting an error when trying to create a solution. Can you tell me whenever I can download that besides creating a new project through Abp Suite? I am using Commercial version.

Answer

Hi @Alper

It is still hapenning. I can't create a new project. I've double check and I am using version 4.3.0 rc.1 for ABP Suite as well. I am checking the parameter "Preview version". If I don't check that, the application is created correctly.

@liangshiwei

I haven't found those classes. Instead, I do have AbpSettingManagementBlazorModule on DependsOn.

namespace TVD_Holdings_Ltd.AvalancheOCP.Blazor
{
    [DependsOn(
        typeof(AbpAutofacWebAssemblyModule),
        typeof(AvalancheOCPHttpApiClientModule),
        typeof(AbpAspNetCoreComponentsWebAssemblyLeptonThemeModule),
        typeof(AbpIdentityProBlazorModule),
        typeof(SaasHostBlazorModule),
        typeof(AbpSettingManagementBlazorModule),
        typeof(LeptonThemeManagementBlazorModule),
        typeof(AbpAccountAdminBlazorModule),
        typeof(AbpAuditLoggingBlazorModule),
        typeof(TextTemplateManagementBlazorModule),
        typeof(LanguageManagementBlazorModule),
        typeof(AbpIdentityServerBlazorModule)
    )]
    public class AvalancheOCPBlazorModule : AbpModule

What I would be missing?

  • ABP Framework version: v4.3.0 rc.1
  • UI type:Blazor
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): yes / no
  • Exception message and stack trace:
  • Steps to reproduce the issue:

Hi,

Nowadays, when accessing the app it redirect for the home page where I am not using for nothing in my application. So, the user has to click in login to access the app. If he logout, I want to redirect to the login page. In other word, I don't want to use that Home page where there is no user logged. I want to go from Login to App (Host side or Tenant site), and then when logout or the session is expired redirecting to Login page, similar as AspNetZero does.

Is that possible? If don't, how can I require that as a framework feature?

Showing 141 to 150 of 192 entries
Made with ❤️ on ABP v9.1.0-preview. Updated on November 20, 2024, 13:06