Activities of "Spospisil"

  • ABP Framework version: v4.4.4
  • UI type: MVC
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): Tiered

For the 'Payment' module there is no entry in the en.json file for "Permission:Payment" resulting in the text 'Permission:Payment' on the permissions popup page for the payment permissions section. Similarly there is no entry for "Permission:PaymentGatewayPlanManagement.Default" in the en.json file as the PaymentAdminPermissionDeffinitionProvider is expecting. The entry in the en.json file for this setting is just ""Permission:PaymentGatewayPlanManagement"

  • ABP Framework version: v4.4.3
  • UI type: MVC
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): Tiered
  • Steps to reproduce the issue:"

We have a Host DB that has all the Identity Server/Sass and CMS related tables. Each tennat has their own DB as specified in the TenantConnectionStrings table but we do not want the Users table in the Tenant DB. In the main DB context class of my project I have specified this setup with the following code.

However, when I log in via the Web Application as a Tenant user I get an error indicating that there is 'no relation to the users table'. I have stepped through the code and the logic to log into and set everything accordinly is working fine and against the users table in the host db (which has all users across all tenants) and is verified by a successful login result in the code. But there is some other logic somewhere that seems to be looking for the Users table in the Tenant DB which is why I believe I'm getting the error.

Can you tell me the best way to implement the configuration of having all these core tables in the Host DB and only Tenant specific tables (our application tables) in the individual tenant DB's?

Thanks.

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

When I add a new Tenant via the Saas module and unclick the 'use the shard database' checkbox and specify a connection string and click Save I get the following error.

The connection string does get saved to the TenantConnectionStrings table, but it is not creating the Tenant DB on fly. Nothing is being logged to any of the logs and the browser tools do not show any obvious errors. Is there a way for me to troubleshoot this further? Perhaps a way to see all errors that are happening so I can figure out why this is not working.

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

We have the pro modules and are using Identity-Pro to maintain the list of users. The problem is that ABP out of the box requires you to be logged in as a user for a given tenant to create additional non admin users for that tenant.

Our model is we will have a system admin that will create users for each tenant, so we'll use the 'users' list page and have a tenant selector in that page's menu (next to the add user button) and then select a tenant from it and have is display all the users for the selected tenant and also pass the selected tenant to the add user model box (UI) for the given selected tenant.

I have been able to add a 'tenant dropdown' selector the the user's page menu and have created a controller to return an object from javascript with the 'filter' and 'selected tenant' values and pass to the controller, however I now need a repositiory routine to only give me a list of the tenants for the passed in tenant guid.

What is the best way to implement this without creating my own repository class that the controller uses to get the expected results?

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

I have a custom ABP application service derived from ApplicationService. Within my Javascript for the html page I would like to refer to this service in much the same way that is being done in the Volo.Abp.Identity.pro.Web project on the users list page. How can I set a variable to my service in the javascript code much like is being done in the screenshot below?

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

I am trying to extend the TenantAppService and add my own methods to it while retaining the base class/interface methods/properties. So for example, I want to add a method called GetListAllAsync that returnes a list of SassTenantDto objects vs a list of PagedResultDto<SaasTenantDto>. I don't want to override the out of the box class, but just want my own methods added to it when constructor inject ITenantAppService into my razor page.

Do you have a sample of how to do this?

Question
  • ABP Framework version: v4.4.2
  • UI type: MVC
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): yes
  • Exception message and stack trace:
  • Steps to reproduce the issue:"

I am trying to show an iFrame within the content area of the Lepton theme layout. I keep getting a cross-origin issue in my solutions "Web" (non public) project even though I have added the 'CorsOrigins' entry in the 'App' section of my appsettings.json file. Additionaly I have added the following block of code to my 'WebModule' code, but they browser is still giving me the 'blocked a frame with origin "xxxx" from accessing a cross-origin frame.

        context.Services.AddCors(options =>
        {
            options.AddDefaultPolicy(builder =>
            {
                builder
                    .WithOrigins(
                        configuration["App:CorsOrigins"]
                            .Split(",", StringSplitOptions.RemoveEmptyEntries)
                            .Select(o => o.Trim().RemovePostFix("/"))
                            .ToArray()
                    )
                    .WithAbpExposedHeaders()
                    .SetIsOriginAllowedToAllowWildcardSubdomains()
                    .AllowAnyHeader()
                    .AllowAnyMethod()
                    .AllowCredentials();
            });
        });
  • ABP Framework version: v4.4.2
  • UI type: MVC
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): yes
  • Exception message and stack trace:
  • Steps to reproduce the issue:"

I've implemented the DefaultBrandingProvider class to put the logon on the identity server 'login' screen and it does not use the image I provided in the logoUrl property.

  • ABP Framework version: v4.4.0
  • UI type: MVC
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): yes

Is there a way to debug the Volo.Abp.Emailing source code project when it's called from my web MVC project? Please don't refer me to the other queries on how this can be accomplished as they do not work.

  • ABP Framework version: v4.4.0
  • UI type: MVC
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): yes
  • Exception message and stack trace:
* 2021-09-07 06:59:39.828 -04:00 [INF] End processing HTTP request after 73.7044ms - 200
2021-09-07 06:59:39.847 -04:00 [INF] Executed handler method OnGetAsync, returned result Microsoft.AspNetCore.Mvc.RazorPages.PageResult.
2021-09-07 06:59:39.985 -04:00 [INF] Executed page /Account/Login in 1105.0193ms
2021-09-07 06:59:39.985 -04:00 [INF] Executed endpoint '/Account/Login'
2021-09-07 06:59:39.990 -04:00 [INF] Request finished HTTP/2 GET https://localhost:44386/Account/Login - - - 200 - text/html;+charset=utf-8 1143.7610ms
2021-09-07 06:59:40.017 -04:00 [INF] Request starting HTTP/2 GET https://localhost:44386/site.webmanifest - -
2021-09-07 06:59:40.023 -04:00 [INF] Request finished HTTP/2 GET https://localhost:44386/site.webmanifest - - - 404 - - 6.3240ms
2021-09-07 06:59:41.313 -04:00 [INF] Request starting HTTP/2 GET https://localhost:44386/Account/ForgotPassword - -
2021-09-07 06:59:41.325 -04:00 [INF] Executing endpoint '/Account/ForgotPassword'
2021-09-07 06:59:41.328 -04:00 [INF] Route matched with {page = "/Account/ForgotPassword", action = "", controller = "", area = ""}. Executing page /Account/ForgotPassword
2021-09-07 06:59:41.328 -04:00 [INF] Skipping the execution of current filter as its not the most effective filter implementing the policy Microsoft.AspNetCore.Mvc.ViewFeatures.IAntiforgeryPolicy
2021-09-07 06:59:41.441 -04:00 [INF] Executing handler method StructureWeb.Web.Pages.Account.MyForgotPasswordModel.OnGetAsync - ModelState is "Valid"
2021-09-07 06:59:41.442 -04:00 [INF] Executed handler method OnGetAsync, returned result Microsoft.AspNetCore.Mvc.RazorPages.PageResult.
2021-09-07 06:59:41.514 -04:00 [INF] Executed page /Account/ForgotPassword in 185.6143ms
2021-09-07 06:59:41.514 -04:00 [INF] Executed endpoint '/Account/ForgotPassword'
2021-09-07 06:59:41.514 -04:00 [INF] Request finished HTTP/2 GET https://localhost:44386/Account/ForgotPassword - - - 200 - text/html;+charset=utf-8 201.3382ms
2021-09-07 06:59:41.531 -04:00 [INF] Request starting HTTP/2 GET https://localhost:44386/site.webmanifest - -
2021-09-07 06:59:41.537 -04:00 [INF] Request finished HTTP/2 GET https://localhost:44386/site.webmanifest - - - 404 - - 5.4743ms
2021-09-07 06:59:44.127 -04:00 [INF] Request starting HTTP/2 POST https://localhost:44386/Account/ForgotPassword application/x-www-form-urlencoded 214
2021-09-07 06:59:44.142 -04:00 [INF] No CORS policy found for the specified request.
2021-09-07 06:59:44.143 -04:00 [INF] Executing endpoint '/Account/ForgotPassword'
2021-09-07 06:59:44.143 -04:00 [INF] Route matched with {page = "/Account/ForgotPassword", action = "", controller = "", area = ""}. Executing page /Account/ForgotPassword
2021-09-07 06:59:44.143 -04:00 [INF] Skipping the execution of current filter as its not the most effective filter implementing the policy Microsoft.AspNetCore.Mvc.ViewFeatures.IAntiforgeryPolicy
2021-09-07 06:59:44.203 -04:00 [INF] Executing handler method StructureWeb.Web.Pages.Account.MyForgotPasswordModel.OnPostAsync - ModelState is "Valid"
2021-09-07 06:59:44.224 -04:00 [WRN] Could not find IdentityClientConfiguration for AbpAccountPublic. Either define a configuration for AbpAccountPublic or set a default configuration.
2021-09-07 06:59:44.224 -04:00 [INF] Start processing HTTP request POST "https://localhost:44382/api/account/send-password-reset-code?api-version=1.0"
2021-09-07 06:59:44.224 -04:00 [INF] Sending HTTP request POST "https://localhost:44382/api/account/send-password-reset-code?api-version=1.0"
2021-09-07 06:59:58.124 -04:00 [INF] Received HTTP response headers after 13900.1645ms - 500
2021-09-07 06:59:58.124 -04:00 [INF] End processing HTTP request after 13900.3426ms - 500
2021-09-07 06:59:59.317 -04:00 [INF] Executed page /Account/ForgotPassword in 15173.8054ms
2021-09-07 06:59:59.423 -04:00 [INF] Executed endpoint '/Account/ForgotPassword'
2021-09-07 07:00:01.362 -04:00 [ERR] An unhandled exception has occurred while executing the request.
Volo.Abp.Http.Client.AbpRemoteCallException: An internal error occurred during your request!
   at Volo.Abp.Http.Client.DynamicProxying.DynamicHttpProxyInterceptor`1.ThrowExceptionForResponseAsync(HttpResponseMessage response)
   at Volo.Abp.Http.Client.DynamicProxying.DynamicHttpProxyInterceptor`1.MakeRequestAsync(IAbpMethodInvocation invocation)
   at Volo.Abp.Http.Client.DynamicProxying.DynamicHttpProxyInterceptor`1.InterceptAsync(IAbpMethodInvocation invocation)
   at Volo.Abp.Castle.DynamicProxy.CastleAsyncAbpInterceptorAdapter`1.InterceptAsync(IInvocation invocation, IInvocationProceedInfo proceedInfo, Func`3 proceed)
   at Castle.DynamicProxy.AsyncInterceptorBase.ProceedAsynchronous(IInvocation invocation, IInvocationProceedInfo proceedInfo)
   at Volo.Abp.Castle.DynamicProxy.CastleAbpMethodInvocationAdapter.ProceedAsync()
   at Volo.Abp.Validation.ValidationInterceptor.InterceptAsync(IAbpMethodInvocation invocation)
   at Volo.Abp.Castle.DynamicProxy.CastleAsyncAbpInterceptorAdapter`1.InterceptAsync(IInvocation invocation, IInvocationProceedInfo proceedInfo, Func`3 proceed)
   at Volo.Abp.Account.Public.Web.Pages.Account.ForgotPasswordModel.OnPostAsync() in C:\Projects\modules\Volo.Account.Pro\src\Volo.Abp.Account.Pro.Public.Web\Pages\Account\ForgotPassword.cshtml.cs:line 35
   at StructureWeb.Web.Pages.Account.MyForgotPasswordModel.OnPostAsync() in C:\Projects\src\StructureWebSaas\src\StructureWeb.Web\Pages\Account\ForgotPassword.cshtml.cs:line 45
   at Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.ExecutorFactory.GenericTaskHandlerMethod.Convert[T](Object taskAsObject)
   at Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.ExecutorFactory.GenericTaskHandlerMethod.Execute(Object receiver, Object[] arguments)
   at Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.PageActionInvoker.InvokeHandlerMethodAsync()
   at Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.PageActionInvoker.InvokeNextPageFilterAsync()
   at Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.PageActionInvoker.Rethrow(PageHandlerExecutedContext context)
   at Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.PageActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
   at Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.PageActionInvoker.InvokeInnerFilterAsync()
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.&lt;InvokeNextExceptionFilterAsync&gt;g__Awaited|25_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Rethrow(ExceptionContextSealed context)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.&lt;InvokeNextResourceFilter&gt;g__Awaited|24_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Rethrow(ResourceExecutedContextSealed context)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.&lt;InvokeFilterPipelineAsync&gt;g__Awaited|19_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.&lt;InvokeAsync&gt;g__Logged|17_1(ResourceInvoker invoker)
   at Microsoft.AspNetCore.Routing.EndpointMiddleware.&lt;Invoke&gt;g__AwaitRequestTask|6_0(Endpoint endpoint, Task requestTask, ILogger logger)
   at Volo.Abp.AspNetCore.Serilog.AbpSerilogMiddleware.InvokeAsync(HttpContext context, RequestDelegate next)
   at Microsoft.AspNetCore.Builder.UseMiddlewareExtensions.&lt;&gt;c__DisplayClass6_1.&lt;&lt;UseMiddlewareInterface&gt;b__1>d.MoveNext()
--- End of stack trace from previous location ---
   at Swashbuckle.AspNetCore.SwaggerUI.SwaggerUIMiddleware.Invoke(HttpContext httpContext)
   at Swashbuckle.AspNetCore.Swagger.SwaggerMiddleware.Invoke(HttpContext httpContext, ISwaggerProvider swaggerProvider)
   at Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context)
   at IdentityServer4.Hosting.IdentityServerMiddleware.Invoke(HttpContext context, IEndpointRouter router, IUserSession session, IEventService events, IBackChannelLogoutService backChannelLogoutService)
   at IdentityServer4.Hosting.MutualTlsEndpointMiddleware.Invoke(HttpContext context, IAuthenticationSchemeProvider schemes)
   at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)
   at IdentityServer4.Hosting.BaseUrlMiddleware.Invoke(HttpContext context)
   at Volo.Abp.AspNetCore.MultiTenancy.MultiTenancyMiddleware.InvokeAsync(HttpContext context, RequestDelegate next)
   at Microsoft.AspNetCore.Builder.UseMiddlewareExtensions.&lt;&gt;c__DisplayClass6_1.&lt;&lt;UseMiddlewareInterface&gt;b__1>d.MoveNext()
--- End of stack trace from previous location ---
   at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)
   at Microsoft.AspNetCore.Localization.RequestLocalizationMiddleware.Invoke(HttpContext context)
   at Microsoft.AspNetCore.RequestLocalization.AbpRequestLocalizationMiddleware.InvokeAsync(HttpContext context, RequestDelegate next)
   at Microsoft.AspNetCore.Builder.UseMiddlewareExtensions.&lt;&gt;c__DisplayClass6_1.&lt;&lt;UseMiddlewareInterface&gt;b__1>d.MoveNext()
--- End of stack trace from previous location ---
   at Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddleware.Invoke(HttpContext context)
2021-09-07 07:00:01.416 -04:00 [INF] Request finished HTTP/2 POST https://localhost:44386/Account/ForgotPassword application/x-www-form-urlencoded 214 - 500 - text/html;+charset=utf-8 17288.8165ms
  • Steps to reproduce the issue:"

I get the above message when executing the following block of code in the Volo.Account.Pro\src\Volo.Abp.Account.Pro.Public.Application\Volo\Abp\Account\Emailing\AccountEmailer.cs class file

await EmailSender.SendAsync( user.Email, StringLocalizer["PasswordReset"], emailContent );

Showing 51 to 60 of 70 entries
Made with ❤️ on ABP v9.0.0-preview Updated on September 19, 2024, 10:13