Activities of "uyarbtrlp"

ABP Framework version: v5.1.1 UI type: MVC DB provider: EF Core Module Template: yes Steps to reproduce the issue:"

  1. I've created the module template by using abp cli ->abp new Acme.IssueManagement -t module-pro -v 5.1.1
  2. I've used the Separated Deployment & Databases Scenario. Therefore, I've runned update-db.ps1 script in both HttpApi.Host and IdentityServer projects.
  3. I've runned the solution.
  4. When I click one of the default modules page such as Identity Management -> Users from web ui, I face this error:
  5. Users endpoint works properly on Swagger UI. Exception message and stack trace: These are the logs from Web.Host 2022-03-14 11:13:55.979 +03:00 [INF] Request starting HTTP/2 GET https://localhost:44369/Identity/Users - - 2022-03-14 11:13:55.981 +03:00 [INF] Start processing HTTP request GET "https://localhost:44356/api/abp/application-configuration?api-version=1.0" 2022-03-14 11:13:55.982 +03:00 [INF] Sending HTTP request GET "https://localhost:44356/api/abp/application-configuration?api-version=1.0" 2022-03-14 11:13:56.069 +03:00 [INF] Received HTTP response headers after 87.0187ms - 200 2022-03-14 11:13:56.069 +03:00 [INF] End processing HTTP request after 87.2745ms - 200 2022-03-14 11:13:56.088 +03:00 [INF] Executing endpoint '/Identity/Users/Index' 2022-03-14 11:13:56.088 +03:00 [INF] Route matched with {page = "/Identity/Users/Index", action = "", controller = "", area = ""}. Executing page /Identity/Users/Index 2022-03-14 11:13:56.088 +03:00 [INF] Skipping the execution of current filter as its not the most effective filter implementing the policy Microsoft.AspNetCore.Mvc.ViewFeatures.IAntiforgeryPolicy 2022-03-14 11:13:56.088 +03:00 [INF] Executing handler method Volo.Abp.Identity.Web.Pages.Identity.Users.IndexModel.OnGetAsync - ModelState is "Valid" 2022-03-14 11:13:56.088 +03:00 [INF] Start processing HTTP request GET "https://localhost:44356/api/identity/users/lookup/roles?api-version=1.0" 2022-03-14 11:13:56.088 +03:00 [INF] Sending HTTP request GET "https://localhost:44356/api/identity/users/lookup/roles?api-version=1.0" 2022-03-14 11:13:56.123 +03:00 [INF] Received HTTP response headers after 34.93ms - 200 2022-03-14 11:13:56.124 +03:00 [INF] End processing HTTP request after 35.0652ms - 200 2022-03-14 11:13:56.125 +03:00 [INF] Start processing HTTP request GET "https://localhost:44356/api/identity/users/lookup/organization-units?api-version=1.0" 2022-03-14 11:13:56.125 +03:00 [INF] Sending HTTP request GET "https://localhost:44356/api/identity/users/lookup/organization-units?api-version=1.0" 2022-03-14 11:13:56.144 +03:00 [INF] Received HTTP response headers after 18.891ms - 200 2022-03-14 11:13:56.144 +03:00 [INF] End processing HTTP request after 19.0409ms - 200 2022-03-14 11:13:56.145 +03:00 [INF] Executed handler method OnGetAsync, returned result Microsoft.AspNetCore.Mvc.RazorPages.PageResult. 2022-03-14 11:13:56.165 +03:00 [DBG] Added bundle 'Lepton.Global' to the page in 2.16 ms. 2022-03-14 11:13:56.167 +03:00 [DBG] Added bundle 'Volo.Abp.Identity.Web.Pages.Identity.Users.IndexModel' to the page in 1.73 ms. 2022-03-14 11:13:56.180 +03:00 [DBG] Added bundle 'Lepton.Global' to the page in 4.01 ms. 2022-03-14 11:13:56.182 +03:00 [DBG] Added bundle 'Volo.Abp.Identity.Web.Pages.Identity.Users.IndexModel' to the page in 1.08 ms. 2022-03-14 11:13:56.190 +03:00 [INF] Executed page /Identity/Users/Index in 101.7788ms 2022-03-14 11:13:56.190 +03:00 [INF] Executed endpoint '/Identity/Users/Index' 2022-03-14 11:13:56.193 +03:00 [INF] Request finished HTTP/2 GET https://localhost:44369/Identity/Users - - - 200 - text/html;+charset=utf-8 213.7965ms

How can I resolve this?

Have you tried on Web.Unified which is Single (Unified) Application Scenario? When I runned identity, web.host and http.host separately (which is Separated Deployment & Databases Scenario), I got that problem. Web.Unified works properly.

  • ABP Framework version: v4.4.3
  • UI type: MVC
  • DB provider: EF Core
  • Module Template: yes
  • Exception message and stack trace:
  • Steps to reproduce the issue:"

Hello ABP,

I have created a new solution with version of 4.4.3 like described in your documentation.

abp new Acme.IssueManagement -t module-pro -v 4.4.3

I have used CurrentUser.UserName on SampleAppService which comes from default template for taking the username. I saw the username was null. Other values were fine.

If I try on developer tools by using "abp.currentUser", I can see the username.

I have faced this issue on my application and I wanted to be sure whether the cause of the problem was related with me or not. Is that kind a bug or am I missing somethings?

Thanks.

Aren't there any informations?

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

Hello Abp,

I want to add a menu item to navigation menu when a new entity is inserted from create modal. I have searched from documents but I could not find any information about this operation. Do you have any suggestion about that?

Hello,

I notice that when I change the language to German, I cannot see any value in graphs which are set defaultly. We use three languages (Turkish, English, German) in our application. Others haven't got such a problem. Also I checked the default project created by Abp suite to try to figure out if the problem was our fault or not. It has same problem, too. After trying to change the date from date range input, I figured out the dates are wrong initially. While taking the current date initially, I see past date instead of current date. When I change the dates, I can get the correct values. Do you have any advice to get current date or is it a bug to be fixed by ABP?

  • ABP Framework version: v4.4.3
  • UI type: MVC
  • DB provider: EF Core
  • Tiered (MVC) ): yes

Hi,

Thank you.

Hi,

it is already like that

 app.UseSwaggerUI(options =>
            {
                options.DocumentTitle = "NMM API";

                // Display latest api version by default
                //
                var provider = context.ServiceProvider.GetRequiredService<IApiVersionDescriptionProvider>();
                foreach (var description in provider.ApiVersionDescriptions)
                {
                    options.SwaggerEndpoint($"/swagger/{description.GroupName}/swagger.json", description.GroupName.ToUpperInvariant());
                }
                var configuration = context.GetConfiguration();
                options.OAuthClientId(configuration["AuthServer:SwaggerClientId"]);
                options.OAuthClientSecret(configuration["AuthServer:SwaggerClientSecret"]);
            });

Hi,

I sent the source code

Hello ABP,

We are trying to implement API versioning with tiered project. We use URI versioning for realizing that. We have checked your test project for api versioning. Also we have checked https://github.com/abpframework/abp/issues/3315 issue. We are able to create two different versions of our API. I can see clearly on Swagger. We cannot see all APIs relevant with ABP's modules such as Identity, Permission Management. We added HttpApi modules in PreConfigureServices for seeing on swagger. . We inserted account admin and account public as an example.

First question is what we have done is best practice for seeing the controllers related with ABP?

After inserting api versioning logic, web module crashed.

Host and Identity project work with no problem. Exception message is below. Swagger configuration code:

private void ConfigureSwagger(ServiceConfigurationContext context, IConfiguration configuration)
        {
            Configure<AbpAspNetCoreMvcOptions>(options => { context.Services.ExecutePreConfiguredActions(options); });
            context.Services.AddControllers();
            context.Services.AddAbpApiVersioning(options =>
            {
                options.DefaultApiVersion = new ApiVersion(1, 0);
                options.AssumeDefaultVersionWhenUnspecified = true;
                options.ReportApiVersions = true;
                options.ApiVersionReader = new UrlSegmentApiVersionReader();

                var mvcOptions = context.Services.ExecutePreConfiguredActions<AbpAspNetCoreMvcOptions>();
                options.ConfigureAbp(mvcOptions);


            });

            context.Services.AddVersionedApiExplorer(options =>
            {
                // add the versioned api explorer, which also adds IApiVersionDescriptionProvider service
                // note: the specified format code will format the version as "'v'major[.minor][-status]"
                options.GroupNameFormat = "'v'VVV";

                // note: this option is only necessary when versioning by url segment. the SubstitutionFormat
                // can also be used to control the format of the API version in route templates
                options.SubstituteApiVersionInUrl = true;
            });
            context.Services.AddTransient<IConfigureOptions<SwaggerGenOptions>, ConfigureSwaggerOptions>();
            context.Services.AddSwaggerGen(options =>
            {
                options.OperationFilter<SwaggerDefaultValues>();
                options.DocumentFilter<CustomSwaggerFilter>();
                options.DocInclusionPredicate((docName, description) =>
                {
                    // Get api major version
                    var apiVersion = $"v{description.GetApiVersion().MajorVersion}";

                    if (!docName.Equals(apiVersion))
                        return false;

                    // Replace router parameter
                    var values = description.RelativePath
                        .Split('/')
                        .Select(v => v.Replace("v{version}", apiVersion));

                    description.RelativePath = string.Join("/", values);

                    return true;
                });
                options.CustomSchemaIds((type) => type.FullName);
                options.SchemaFilter<AddEnumSchemaFilter>();

            });
        }

Hello controller code :

using System.Threading.Tasks;
using ApiVersioningTiered.Controllers;
using Microsoft.AspNetCore.Mvc;

namespace Volo.Abp.AspNetCore.Mvc.Versioning.App
{
    [ApiVersion("1.0")]
    [ApiVersion("2.0")]
    [ApiController]
    [Route("api/v{version:apiVersion}/[controller]")]
    public class HelloController : ApiVersioningTieredController
    {
        [HttpGet]
        public Task<string> GetAsync()
        {
            return Task.FromResult($"Get");
        }

        [HttpPost]
        [Route("Test")]
        [MapToApiVersion("1.0")]
        public Task<string> PostAsyncV1()
        {
            return PostAsync();
        }

        [HttpPost]
        [MapToApiVersion("2.0")]
        [Route("Test")]
        public Task<string> PostAsyncV2()
        {
            return PostAsync();
        }

        private Task<string> PostAsync()
        {
            return Task.FromResult($"Post-{HttpContext.GetRequestedApiVersion().ToString()}");
        }
    }
}

Are there any suggestions about that?

  • ABP Framework version: v4.2.2
  • UI type: MVC
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): yes
  • Exception message and stack trace:
* AbpException: Could not found remote action for method: System.Threading.Tasks.Task`1[Volo.Abp.AspNetCore.Mvc.ApplicationConfigurations.ApplicationConfigurationDto] GetAsync() on the URL: https://localhost:44321/
Volo.Abp.Http.Client.DynamicProxying.ApiDescriptionFinder.FindActionAsync(HttpClient client, string baseUrl, Type serviceType, MethodInfo method)
Volo.Abp.Http.Client.DynamicProxying.DynamicHttpProxyInterceptor&lt;TService&gt;.MakeRequestAsync(IAbpMethodInvocation invocation)
Volo.Abp.Http.Client.DynamicProxying.DynamicHttpProxyInterceptor&lt;TService&gt;.MakeRequestAndGetResultAsync&lt;T&gt;(IAbpMethodInvocation invocation)
Volo.Abp.Http.Client.DynamicProxying.DynamicHttpProxyInterceptor&lt;TService&gt;.GetResultAsync(Task task, Type resultType)
Volo.Abp.Http.Client.DynamicProxying.DynamicHttpProxyInterceptor&lt;TService&gt;.InterceptAsync(IAbpMethodInvocation invocation)
Volo.Abp.Castle.DynamicProxy.CastleAsyncAbpInterceptorAdapter&lt;TInterceptor&gt;.InterceptAsync&lt;TResult&gt;(IInvocation invocation, IInvocationProceedInfo proceedInfo, Func&lt;IInvocation, IInvocationProceedInfo, Task&lt;TResult&gt;> proceed)
Castle.DynamicProxy.AsyncInterceptorBase.ProceedAsynchronous&lt;TResult&gt;(IInvocation invocation, IInvocationProceedInfo proceedInfo)
Volo.Abp.Castle.DynamicProxy.CastleAbpMethodInvocationAdapterWithReturnValue&lt;TResult&gt;.ProceedAsync()
Volo.Abp.Validation.ValidationInterceptor.InterceptAsync(IAbpMethodInvocation invocation)
Volo.Abp.Castle.DynamicProxy.CastleAsyncAbpInterceptorAdapter&lt;TInterceptor&gt;.InterceptAsync&lt;TResult&gt;(IInvocation invocation, IInvocationProceedInfo proceedInfo, Func&lt;IInvocation, IInvocationProceedInfo, Task&lt;TResult&gt;> proceed)
Volo.Abp.AspNetCore.Mvc.Client.MvcCachedApplicationConfigurationClient.&lt;GetAsync&gt;b__14_0()
Volo.Abp.Caching.DistributedCache&lt;TCacheItem, TCacheKey&gt;.GetOrAddAsync(TCacheKey key, Func&lt;Task&lt;TCacheItem&gt;> factory, Func&lt;DistributedCacheEntryOptions&gt; optionsFactory, Nullable&lt;bool&gt; hideErrors, bool considerUow, CancellationToken token)
Volo.Abp.AspNetCore.Mvc.Client.MvcCachedApplicationConfigurationClient.GetAsync()
Volo.Abp.AspNetCore.Mvc.Client.RemoteLanguageProvider.GetLanguagesAsync()
Microsoft.AspNetCore.RequestLocalization.DefaultAbpRequestLocalizationOptionsProvider.GetLocalizationOptionsAsync()
Microsoft.AspNetCore.RequestLocalization.AbpRequestLocalizationMiddleware.InvokeAsync(HttpContext context, RequestDelegate next)
Microsoft.AspNetCore.Builder.UseMiddlewareExtensions+&lt;&gt;c__DisplayClass6_1+&lt;&lt;UseMiddlewareInterface&gt;b__1>d.MoveNext()
Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddleware.Invoke(HttpContext context)
Showing 51 to 60 of 73 entries
Learn More, Pay Less
33% OFF
All Trainings!
Get Your Deal
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.0.0-preview. Updated on September 12, 2025, 10:20