Activities of "rferrarin"

Check the docs before asking a question: https://docs.abp.io/en/commercial/latest/ Check the samples to see the basic tasks: https://docs.abp.io/en/commercial/latest/samples/index The exact solution to your question may have been answered before, and please first use the search on the homepage. Provide us with the following info:

  • ABP Framework version: v8.0.1
  • UI Type: MAUI Mobile
  • Database System: EF Core (SQL Server)
  • Exception message and full stack trace:
  • Steps to reproduce the issue: create a mobile maui app using abp suite, add 10+ new users to the app, view the users via mobile app...you cannot load more than 10 items because the LoadMore button is not visible

this is from site...users are correctly visible/paged

this is from the mobile maui app...the LoadMore button is not visibile/present

From the generated code in file IdentityUserPageViewModel.cs this is the check CanLoadMore = result.Items.Count >= Input.MaxResultCount;

which I think should be (in GetUsersAsync()) CanLoadMore = result.TotalCount >= Input.MaxResultCount;

and (in LoadMore()) CanLoadMore = result.TotalCount >= Input.SkipCount + Input.MaxResultCount;

Besides the effectiveness of the above check, even if CanLoadMore is true, button is still not visible

thanx

  • ABP Framework version: v7.4.4
  • UI Type: Blazor Server
  • Database System: EF Core (SQL Server)
  • **Tiered: no

Hi, I need to execute some custom code after the user has succesfully logged in the system (basically I need to load some user-dependent constants) I couldn't find any info about doing this, can you help me? Best regards

this is from a brand new template project, and these are the only mods I did

  • enabled redis
"Redis": {
    "IsEnabled": "true",
    "Configuration": "127.0.0.1:6379"
  }
  • disable multitenancy
public static class MultiTenancyConsts
{
    /* Enable/disable multi-tenancy easily in a single point.
     * If you will never need to multi-tenancy, you can remove
     * related modules and code parts, including this file.
     */
    public const bool IsEnabled = false;
}

-logs

public async static Task<int> Main(string[] args)
    {
        Log.Logger = new LoggerConfiguration()
//#if DEBUG
            .MinimumLevel.Verbose()
//#else
//            .MinimumLevel.Information()
//#endif
            //.MinimumLevel.Override("Microsoft", LogEventLevel.Information)
            //.MinimumLevel.Override("Microsoft.EntityFrameworkCore", LogEventLevel.Warning)
            .Enrich.FromLogContext()
            .WriteTo.Async(c => c.File("Logs/logs.txt"))
            .WriteTo.Async(c => c.Console())
            .CreateLogger();

- jobs
Configure<AbpBackgroundJobOptions>(options =>
        {
            options.IsJobExecutionEnabled = false; //Disables job execution
        });

- health
    private void ConfigureHealthChecks(ServiceConfigurationContext context)
    {
        //context.Services.AddHangTestHealthChecks();
    }

this is from the verbose log

2023-03-06 11:15:26.138 +01:00 [DBG] SaveChanges completed for 'OpenIddictProDbContext' with 0 entities written to the database.
2023-03-06 11:15:26.138 +01:00 [DBG] 'OpenIddictProDbContext' disposed.
2023-03-06 11:15:26.138 +01:00 [DBG] Disposing connection to database 'HangTest' on server 'localhost'.
2023-03-06 11:15:26.138 +01:00 [DBG] Disposed connection to database '' on server '' (0ms).
2023-03-06 11:15:26.138 +01:00 [DBG] 'HangTestDbContext' disposed.
2023-03-06 11:15:26.138 +01:00 [DBG] Disposing connection to database 'HangTest' on server 'localhost'.
2023-03-06 11:15:26.138 +01:00 [DBG] Disposed connection to database '' on server '' (0ms).
2023-03-06 11:15:26.139 +01:00 [DBG] Connection ID "17582052959749931039" disconnecting.
2023-03-06 11:15:26.139 +01:00 [INF] Request finished HTTP/2 GET https://localhost:44384/connect/authorize?client_id=HangTest_Blazor&redirect_uri=https%3A%2F%2Flocalhost%3A44333%2Fauthentication%2Flogin-callback&response_type=code&scope=openid%20profile%20HangTest%20roles%20email%20phone&state=7dfdd71a476749f09bd3226f6d512edd&code_challenge=ACaoLbi7UUVG_1IJtE4OWvSOZt0SDBbQt5sAGGF4kWg&code_challenge_method=S256&response_mode=query - - - 302 - - 702.6425ms
2023-03-06 11:15:30.997 +01:00 [INF] Request starting HTTP/2 GET https://localhost:44384/.well-known/openid-configuration - -
2023-03-06 11:15:30.997 +01:00 [VRB] All hosts are allowed.
2023-03-06 11:15:30.997 +01:00 [DBG] The request path /.well-known/openid-configuration does not match a supported file type
2023-03-06 11:15:30.997 +01:00 [DBG] No candidates found for the request path '/.well-known/openid-configuration'
2023-03-06 11:15:30.997 +01:00 [DBG] Request did not match any endpoints
2023-03-06 11:15:30.997 +01:00 [DBG] The request has an origin header: 'https://localhost:44333'.
2023-03-06 11:15:30.997 +01:00 [INF] CORS policy execution successful.

this is the logout part

and this is the login

I've tried with chrome and edge, same behavior

I've disabled background jobs as they where taking some time and I don't really neeed them in my app, however, I'm still having the problem

2023-03-06 10:35:05.293 +01:00 [INF] The authorization response was successfully returned to 'https://localhost:44374/authentication/login-callback' using the query response mode: { "code": "[redacted]", "state": "557c3358d46f43aabc92583e355cee5d", "iss": "https://localhost:44325/" }. 2023-03-06 10:35:05.294 +01:00 [DBG] The event OpenIddict.Server.OpenIddictServerEvents+ApplyAuthorizationResponseContext was successfully processed by OpenIddict.Server.AspNetCore.OpenIddictServerAspNetCoreHandlers+Authentication+ProcessQueryResponse. 2023-03-06 10:35:05.294 +01:00 [DBG] The event OpenIddict.Server.OpenIddictServerEvents+ApplyAuthorizationResponseContext was marked as handled by OpenIddict.Server.AspNetCore.OpenIddictServerAspNetCoreHandlers+Authentication+ProcessQueryResponse. 2023-03-06 10:35:05.294 +01:00 [DBG] The event OpenIddict.Server.OpenIddictServerEvents+ProcessSignInContext was successfully processed by OpenIddict.Server.OpenIddictServerHandlers+Authentication+ApplyAuthorizationResponse1[[OpenIddict.Server.OpenIddictServerEvents+ProcessSignInContext, OpenIddict.Server, Version=4.0.0.0, Culture=neutral, PublicKeyToken=35a561290d20de2f]]. 2023-03-06 10:35:05.294 +01:00 [DBG] The event OpenIddict.Server.OpenIddictServerEvents+ProcessSignInContext was marked as handled by OpenIddict.Server.OpenIddictServerHandlers+Authentication+ApplyAuthorizationResponse1[[OpenIddict.Server.OpenIddictServerEvents+ProcessSignInContext, OpenIddict.Server, Version=4.0.0.0, Culture=neutral, PublicKeyToken=35a561290d20de2f]]. 2023-03-06 10:35:05.294 +01:00 [VRB] After executing action result Microsoft.AspNetCore.Mvc.SignInResult. 2023-03-06 10:35:05.294 +01:00 [VRB] Result Filter: Before executing OnResultExecuted on filter Microsoft.AspNetCore.Mvc.ViewFeatures.Filters.SaveTempDataFilter. 2023-03-06 10:35:05.294 +01:00 [VRB] Result Filter: After executing OnResultExecuted on filter Microsoft.AspNetCore.Mvc.ViewFeatures.Filters.SaveTempDataFilter. 2023-03-06 10:35:05.294 +01:00 [VRB] Resource Filter: Before executing OnResourceExecuted on filter Microsoft.AspNetCore.Mvc.ViewFeatures.Filters.SaveTempDataFilter. 2023-03-06 10:35:05.294 +01:00 [VRB] Resource Filter: After executing OnResourceExecuted on filter Microsoft.AspNetCore.Mvc.ViewFeatures.Filters.SaveTempDataFilter. 2023-03-06 10:35:05.294 +01:00 [INF] Executed action Volo.Abp.OpenIddict.Controllers.AuthorizeController.HandleAsync (Volo.Abp.OpenIddict.AspNetCore) in 153.1207ms 2023-03-06 10:35:05.294 +01:00 [INF] Executed endpoint 'Volo.Abp.OpenIddict.Controllers.AuthorizeController.HandleAsync (Volo.Abp.OpenIddict.AspNetCore)' 2023-03-06 10:35:05.294 +01:00 [DBG] DetectChanges starting for 'ChecklistDbContext'. 2023-03-06 10:35:05.294 +01:00 [DBG] DetectChanges completed for 'ChecklistDbContext'. 2023-03-06 10:35:05.294 +01:00 [DBG] DetectChanges starting for 'ChecklistDbContext'. 2023-03-06 10:35:05.294 +01:00 [DBG] DetectChanges completed for 'ChecklistDbContext'. 2023-03-06 10:35:05.294 +01:00 [DBG] SaveChanges starting for 'ChecklistDbContext'. 2023-03-06 10:35:05.294 +01:00 [DBG] DetectChanges starting for 'ChecklistDbContext'. 2023-03-06 10:35:05.294 +01:00 [DBG] DetectChanges completed for 'ChecklistDbContext'. 2023-03-06 10:35:05.294 +01:00 [DBG] SaveChanges completed for 'ChecklistDbContext' with 0 entities written to the database. 2023-03-06 10:35:05.295 +01:00 [DBG] DetectChanges starting for 'OpenIddictProDbContext'. 2023-03-06 10:35:05.295 +01:00 [DBG] DetectChanges completed for 'OpenIddictProDbContext'. 2023-03-06 10:35:05.295 +01:00 [DBG] DetectChanges starting for 'OpenIddictProDbContext'. 2023-03-06 10:35:05.295 +01:00 [DBG] DetectChanges completed for 'OpenIddictProDbContext'. 2023-03-06 10:35:05.295 +01:00 [DBG] SaveChanges starting for 'OpenIddictProDbContext'. 2023-03-06 10:35:05.295 +01:00 [DBG] DetectChanges starting for 'OpenIddictProDbContext'. 2023-03-06 10:35:05.295 +01:00 [DBG] DetectChanges completed for 'OpenIddictProDbContext'. 2023-03-06 10:35:05.295 +01:00 [DBG] SaveChanges completed for 'OpenIddictProDbContext' with 0 entities written to the database. 2023-03-06 10:35:05.295 +01:00 [DBG] DetectChanges starting for 'ChecklistDbContext'. 2023-03-06 10:35:05.295 +01:00 [DBG] DetectChanges completed for 'ChecklistDbContext'. 2023-03-06 10:35:05.295 +01:00 [DBG] DetectChanges starting for 'ChecklistDbContext'. 2023-03-06 10:35:05.296 +01:00 [DBG] DetectChanges completed for 'ChecklistDbContext'. 2023-03-06 10:35:05.296 +01:00 [DBG] SaveChanges starting for 'ChecklistDbContext'. 2023-03-06 10:35:05.296 +01:00 [DBG] DetectChanges starting for 'ChecklistDbContext'. 2023-03-06 10:35:05.296 +01:00 [DBG] DetectChanges completed for 'ChecklistDbContext'. 2023-03-06 10:35:05.296 +01:00 [DBG] SaveChanges completed for 'ChecklistDbContext' with 0 entities written to the database. 2023-03-06 10:35:05.296 +01:00 [DBG] DetectChanges starting for 'OpenIddictProDbContext'. 2023-03-06 10:35:05.296 +01:00 [DBG] DetectChanges completed for 'OpenIddictProDbContext'. 2023-03-06 10:35:05.296 +01:00 [DBG] DetectChanges starting for 'OpenIddictProDbContext'. 2023-03-06 10:35:05.296 +01:00 [DBG] DetectChanges completed for 'OpenIddictProDbContext'. 2023-03-06 10:35:05.296 +01:00 [DBG] SaveChanges starting for 'OpenIddictProDbContext'. 2023-03-06 10:35:05.296 +01:00 [DBG] DetectChanges starting for 'OpenIddictProDbContext'. 2023-03-06 10:35:05.296 +01:00 [DBG] DetectChanges completed for 'OpenIddictProDbContext'. 2023-03-06 10:35:05.296 +01:00 [DBG] SaveChanges completed for 'OpenIddictProDbContext' with 0 entities written to the database. 2023-03-06 10:35:05.296 +01:00 [DBG] 'OpenIddictProDbContext' disposed. 2023-03-06 10:35:05.296 +01:00 [DBG] Disposing connection to database 'ChecklistBlazor' on server 'localhost'. 2023-03-06 10:35:05.296 +01:00 [DBG] Disposed connection to database '' on server '' (0ms). 2023-03-06 10:35:05.296 +01:00 [DBG] 'ChecklistDbContext' disposed. 2023-03-06 10:35:05.296 +01:00 [DBG] Disposing connection to database 'ChecklistBlazor' on server 'localhost'. 2023-03-06 10:35:05.296 +01:00 [DBG] Disposed connection to database '' on server '' (0ms). 2023-03-06 10:35:05.297 +01:00 [DBG] Connection ID "18158513712053354573" disconnecting. 2023-03-06 10:35:05.297 +01:00 [INF] Request finished HTTP/2 GET https://localhost:44325/connect/authorize?client_id=Checklist_Blazor&redirect_uri=https%3A%2F%2Flocalhost%3A44374%2Fauthentication%2Flogin-callback&response_type=code&scope=openid%20profile%20Checklist%20roles%20email%20phone&state=557c3358d46f43aabc92583e355cee5d&code_challenge=0QsutV1yk838XT5rzNW5mwn1s5VBCMGwCFZCIIVtNrU&code_challenge_method=S256&response_mode=query - - - 302 - - 173.9579ms

2023-03-06 10:35:14.015 +01:00 [INF] Request starting HTTP/2 GET https://localhost:44325/.well-known/openid-configuration - - 2023-03-06 10:35:14.016 +01:00 [VRB] All hosts are allowed. 2023-03-06 10:35:14.016 +01:00 [DBG] The request path /.well-known/openid-configuration does not match a supported file type 2023-03-06 10:35:14.016 +01:00 [DBG] No candidates found for the request path '/.well-known/openid-configuration' 2023-03-06 10:35:14.016 +01:00 [DBG] Request did not match any endpoints 2023-03-06 10:35:14.016 +01:00 [DBG] The request has an origin header: 'https://localhost:44374'. 2023-03-06 10:35:14.016 +01:00 [INF] CORS policy execution successful. 2023-03-06 10:35:14.016 +01:00 [DBG] The event OpenIddict.Validation.OpenIddictValidationEvents+ProcessRequestContext was successfully processed by OpenIddict.Validation.AspNetCore.OpenIddictValidationAspNetCoreHandlers+ResolveRequestUri. 2023-03-06 10:35:14.016 +01:00 [DBG] The event OpenIddict.Server.OpenIddictServerEvents+ProcessRequestContext was successfully processed by OpenIddict.Server.AspNetCore.OpenIddictServerAspNetCoreHandlers+ResolveRequestUri. 2023-03-06 10:35:14.016 +01:00 [INF] The request URI matched a server endpoint: "Configuration". 2023-03-06 10:35:14.016 +01:00 [DBG] The event OpenIddict.Server.OpenIddictServerEvents+ProcessRequestContext was successfully processed by OpenIddict.Server.OpenIddictServerHandlers+InferEndpointType. 2023-03-06 10:35:14.016 +01:00 [DBG] The event OpenIddict.Server.OpenIddictServerEvents+ProcessRequestContext was successfully processed by Volo.Abp.Account.Web.Pages.Account.OpenIddictImpersonateInferEndpointType. 2023-03-06 10:35:14.017 +01:00 [DBG] The event OpenIddict.Server.OpenIddictServerEvents+ProcessRequestContext was successfully processed by OpenIddict.Server.AspNetCore.OpenIddictServerAspNetCoreHandlers+ValidateTransportSecurityRequirement. 2023-03-06 10:35:14.017 +01:00 [DBG] The event OpenIddict.Server.OpenIddictServerEvents+ProcessRequestContext was successfully processed by OpenIddict.Server.AspNetCore.OpenIddictServerAspNetCoreHandlers+ValidateHostHeader. 2023-03-06 10:35:14.017 +01:00 [DBG] The event OpenIddict.Server.OpenIddictServerEvents+ExtractConfigurationRequestContext was successfully processed by OpenIddict.Server.AspNetCore.OpenIddictServerAspNetCoreHandlers+ExtractGetRequest1[[OpenIddict.Server.OpenIddictServerEvents+ExtractConfigurationRequestContext, OpenIddict.Server, Version=4.0.0.0, Culture=neutral, PublicKeyToken=35a561290d20de2f]]. 2023-03-06 10:35:14.017 +01:00 [INF] The configuration request was successfully extracted: {}. 2023-03-06 10:35:14.017 +01:00 [DBG] The event OpenIddict.Server.OpenIddictServerEvents+ProcessRequestContext was successfully processed by OpenIddict.Server.OpenIddictServerHandlers+Discovery+ExtractConfigurationRequest. 2023-03-06 10:35:14.017 +01:00 [INF] The configuration request was successfully validated. 2023-03-06 10:35:14.017 +01:00 [DBG] The event OpenIddict.Server.OpenIddictServerEvents+ProcessRequestContext was successfully processed by OpenIddict.Server.OpenIddictServerHandlers+Discovery+ValidateConfigurationRequest. 2023-03-06 10:35:14.017 +01:00 [DBG] The event OpenIddict.Server.OpenIddictServerEvents+HandleConfigurationRequestContext was successfully processed by OpenIddict.Server.OpenIddictServerHandlers+Discovery+AttachIssuer. 2023-03-06 10:35:14.017 +01:00 [DBG] The event OpenIddict.Server.OpenIddictServerEvents+HandleConfigurationRequestContext was successfully processed by OpenIddict.Server.OpenIddictServerHandlers+Discovery+AttachEndpoints. 2023-03-06 10:35:14.017 +01:00 [DBG] The event OpenIddict.Server.OpenIddictServerEvents+HandleConfigurationRequestContext was successfully processed by OpenIddict.Server.OpenIddictServerHandlers+Discovery+AttachGrantTypes. 2023-03-06 10:35:14.017 +01:00 [DBG] The event OpenIddict.Server.OpenIddictServerEvents+HandleConfigurationRequestContext was successfully processed by OpenIddict.Server.OpenIddictServerHandlers+Discovery+AttachResponseModes. 2023-03-06 10:35:14.017 +01:00 [DBG] The event OpenIddict.Server.OpenIddictServerEvents+HandleConfigurationRequestContext was successfully processed by OpenIddict.Server.OpenIddictServerHandlers+Discovery+AttachResponseTypes. 2023-03-06 10:35:14.017 +01:00 [DBG] The event OpenIddict.Server.OpenIddictServerEvents+HandleConfigurationRequestContext was successfully processed by OpenIddict.Server.OpenIddictServerHandlers+Discovery+AttachClientAuthenticationMethods. 2023-03-06 10:35:14.017 +01:00 [DBG] The event OpenIddict.Server.OpenIddictServerEvents+HandleConfigurationRequestContext was successfully processed by OpenIddict.Server.OpenIddictServerHandlers+Discovery+AttachCodeChallengeMethods. 2023-03-06 10:35:14.017 +01:00 [DBG] The event OpenIddict.Server.OpenIddictServerEvents+HandleConfigurationRequestContext was successfully processed by OpenIddict.Server.OpenIddictServerHandlers+Discovery+AttachScopes. 2023-03-06 10:35:14.017 +01:00 [DBG] The event OpenIddict.Server.OpenIddictServerEvents+HandleConfigurationRequestContext was successfully processed by OpenIddict.Server.OpenIddictServerHandlers+Discovery+AttachClaims. 2023-03-06 10:35:14.017 +01:00 [DBG] The event OpenIddict.Server.OpenIddictServerEvents+HandleConfigurationRequestContext was successfully processed by OpenIddict.Server.OpenIddictServerHandlers+Discovery+AttachSubjectTypes. 2023-03-06 10:35:14.017 +01:00 [DBG] The event OpenIddict.Server.OpenIddictServerEvents+HandleConfigurationRequestContext was successfully processed by OpenIddict.Server.OpenIddictServerHandlers+Discovery+AttachSigningAlgorithms. 2023-03-06 10:35:14.017 +01:00 [DBG] The event OpenIddict.Server.OpenIddictServerEvents+HandleConfigurationRequestContext was successfully processed by OpenIddict.Server.OpenIddictServerHandlers+Discovery+AttachAdditionalMetadata. 2023-03-06 10:35:14.017 +01:00 [DBG] The event OpenIddict.Server.OpenIddictServerEvents+ProcessRequestContext was successfully processed by OpenIddict.Server.OpenIddictServerHandlers+Discovery+HandleConfigurationRequest. 2023-03-06 10:35:14.018 +01:00 [DBG] The event OpenIddict.Server.OpenIddictServerEvents+ApplyConfigurationResponseContext was successfully processed by OpenIddict.Server.AspNetCore.OpenIddictServerAspNetCoreHandlers+AttachHttpResponseCode1[[OpenIddict.Server.OpenIddictServerEvents+ApplyConfigurationResponseContext, OpenIddict.Server, Version=4.0.0.0, Culture=neutral, PublicKeyToken=35a561290d20de2f]]. 2023-03-06 10:35:14.018 +01:00 [DBG] The event OpenIddict.Server.OpenIddictServerEvents+ApplyConfigurationResponseContext was successfully processed by OpenIddict.Server.AspNetCore.OpenIddictServerAspNetCoreHandlers+AttachWwwAuthenticateHeader`1[[OpenIddict.Server.OpenIddictServerEvents+ApplyConfigurationResponseContext, OpenIddict.Server, Version=4.0.0.0, Culture=neutral, PublicKeyToken=35a561290d20de2f]]. 2023-03-06 10:35:14.018 +01:00 [INF] The response was successfully returned as a JSON document: {

Hi, I'm developing a blazor wasm application and I'm having a problem at login time. The app seems to hang for about 10seconds after login

  • ABP Framework version: v7.0.2
  • UI type: Blazor Wasm
  • DB provider: EF Core
  • **Tiered (MVC) **: yes

from the logs, this is the point where the problem arise

2023-03-06 10:04:29.833 +01:00 [INF] Executed action Volo.Abp.OpenIddict.Controllers.AuthorizeController.HandleAsync (Volo.Abp.OpenIddict.AspNetCore) in 82.2525ms 2023-03-06 10:04:29.834 +01:00 [INF] Executed endpoint 'Volo.Abp.OpenIddict.Controllers.AuthorizeController.HandleAsync (Volo.Abp.OpenIddict.AspNetCore)' 2023-03-06 10:04:29.835 +01:00 [INF] Request finished HTTP/2 GET https://localhost:44325/connect/authorize?client_id=Checklist_Blazor&redirect_uri=https%3A%2F%2Flocalhost%3A44374%2Fauthentication%2Flogin-callback&response_type=code&scope=openid%20profile%20Checklist%20roles%20email%20phone&state=bcd28bf376f248358f5ca5d59e0cf32e&code_challenge=N0lv-lkZuh1fU2NCGOpswVgDHltlLMyGcbk1QMDW_mw&code_challenge_method=S256&response_mode=query - - - 302 - - 103.4357ms

2023-03-06 10:04:39.470 +01:00 [INF] Request starting HTTP/2 GET https://localhost:44325/.well-known/openid-configuration - - 2023-03-06 10:04:39.471 +01:00 [INF] CORS policy execution successful. 2023-03-06 10:04:39.471 +01:00 [DBG] The event OpenIddict.Validation.OpenIddictValidationEvents+ProcessRequestContext was successfully processed by OpenIddict.Validation.AspNetCore.OpenIddictValidationAspNetCoreHandlers+ResolveRequestUri. 2023-03-06 10:04:39.471 +01:00 [DBG] The event OpenIddict.Server.OpenIddictServerEvents+ProcessRequestContext was successfully processed by OpenIddict.Server.AspNetCore.OpenIddictServerAspNetCoreHandlers+ResolveRequestUri. 2023-03-06 10:04:39.471 +01:00 [INF] The request URI matched a server endpoint: "Configuration".

How can I solve this issue? thanx

Showing 1 to 6 of 6 entries
Made with ❤️ on ABP v9.1.0-preview. Updated on November 11, 2024, 11:11