Activités de "ndeol@woolworths.com.au"

  • ABP Framework version: v7.0.3 Microservices Commercial template
  • UI type: Angular
  • DB provider: MongoDB
  • Tiered (MVC) or Identity Server Separated (Angular): yes
  • Exception message and stack trace:
  • Steps to reproduce the issue:"
  • Create new microservice Converted it to mongodb using this guide https://docs.abp.io/en/commercial/latest/guides/microservice-mongodb

When I try to seed Localization data to administration microservice database I get this exception.

[09:17:53 ERR] Sequence contains more than one element
System.InvalidOperationException: Sequence contains more than one element
   at System.Linq.ThrowHelper.ThrowMoreThanOneElementException()
   at System.Linq.Enumerable.TryGetSingle[TSource](IEnumerable`1 source, Boolean& found)
   at System.Linq.Enumerable.SingleOrDefault[TSource](IEnumerable`1 source)
   at MongoDB.Driver.AsyncCursorHelper.SingleOrDefaultAsync[T](Task`1 cursorTask, CancellationToken cancellationToken)
   at Volo.Abp.Domain.Repositories.MongoDB.MongoDbRepository`2.FindAsync(Expression`1 predicate, Boolean includeDetails, CancellationToken cancellationToken)
   at Volo.Abp.LanguageManagement.MongoDB.MongoLocalizationResourceRecordRepository.FindAsync(String name, CancellationToken cancellationToken)
   at Castle.DynamicProxy.AsyncInterceptorBase.ProceedAsynchronous[TResult](IInvocation invocation, IInvocationProceedInfo proceedInfo)
   at Volo.Abp.Castle.DynamicProxy.CastleAbpMethodInvocationAdapterWithReturnValue`1.ProceedAsync()
   at Volo.Abp.Uow.UnitOfWorkInterceptor.InterceptAsync(IAbpMethodInvocation invocation)
   at Volo.Abp.Castle.DynamicProxy.CastleAsyncAbpInterceptorAdapter`1.InterceptAsync[TResult](IInvocation invocation, IInvocationProceedInfo proceedInfo, Func`3 proceed)
   at Volo.Abp.LanguageManagement.External.ExternalLocalizationSaver.LkSwGYsliR(SaveContext  , LocalizationResource  , String[]  )
   at Volo.Abp.LanguageManagement.External.ExternalLocalizationSaver.rJYwS5QxcO(SaveContext  , LocalizationResource  )
   at Volo.Abp.LanguageManagement.External.ExternalLocalizationSaver.SaveAsync()
   at Volo.Abp.LanguageManagement.External.ExternalLocalizationSaver.SaveAsync()
   at Castle.DynamicProxy.AsyncInterceptorBase.ProceedAsynchronous(IInvocation invocation, IInvocationProceedInfo proceedInfo)
   at Volo.Abp.Castle.DynamicProxy.CastleAbpMethodInvocationAdapter.ProceedAsync()
   at Volo.Abp.Uow.UnitOfWorkInterceptor.InterceptAsync(IAbpMethodInvocation invocation)
   at Volo.Abp.Castle.DynamicProxy.CastleAsyncAbpInterceptorAdapter`1.InterceptAsync(IInvocation invocation, IInvocationProceedInfo proceedInfo, Func`3 proceed)
   at Volo.Abp.LanguageManagement.LanguageManagementDomainModule.<>c__DisplayClass6_1.dqYSTJLxrtjUOO4OmDO.MoveNext()

But if I remove AbpLocalizationResources Resource collection and Run new microservice first Data is seeded to AbpLocalizationResources and Localization works fine.

Also another issue is I am unable to overwrite localization strings for OpenIddict Module . I used this guide https://docs.abp.io/en/abp/7.0/Localization to overwrite .

  • ABP Framework version: v7.0.3 Microservices
  • UI type: Angular
  • DB provider: MongoDB
  • Tiered (MVC) or Identity Server Separated (Angular): yes
  • Exception message and stack trace:
  • Steps to reproduce the issue:"

Is it possible to remove Volo.Abp.Caching.StackExchangeRedis from microservices solution or any alternative implementations?. I have Implemented MondoDb cache for IDistributed cache but it seems like all core module use this package to cache all data.

What will be the impact If i remove all references and run multiple instance of same service. I can use azure blob storage for distributed locking.?

Do I have replace all Child Modules Code as well ? O just replace IDistributedCache Implementation ?

Is there any documentation for this seeding (permission and localization) data for microservices using administration service db connection string.

It seems like when I disable cache . Its still using local cache for each microservice ? PermissionStore.GetCacheItemAsync: pn:R,pk:admin,n:Saas.Editions [13:11:59 DBG] PermissionStore.GetCacheItemAsync: pn:R,pk:admin,n:Saas.Tenants [13:11:59 DBG] PermissionStore.GetCacheItemAsync: pn:R,pk:admin,n:Saas.Editions [13:11:59 DBG] PermissionStore.GetCacheItemAsync: pn:R,pk:admin,n:Saas.Tenants [13:11:59 DBG] Found in the cache: pn:R,pk:admin,n:Saas.Tenants [13:11:59 DBG] Found in the cache: pn:R,pk:admin,n:Saas.Editions [13:11:59 DBG] Found in the cache: pn:R,pk:admin,n:Saas.Tenants [13:11:59 DBG] Found in the cache: pn:R,pk:admin,n:Saas.Editions [13:11:59 DBG] PermissionStore.GetCacheItemAsync: pn:C,pk:WpayConnect_Angular,n:Saas.Editions [13:11:59 DBG] PermissionStore.GetCacheItemAsync: pn:C,pk:WpayConnect_Angular,n:Saas.Editions [13:11:59 DBG] PermissionStore.GetCacheItemAsync: pn:C,pk:WpayConnect_Angular,n:Saas.Tenants [13:11:59 DBG] Found in the cache: pn:C,pk:WpayConnect_Angular,n:Saas.Editions [13:11:59 DBG] PermissionStore.GetCacheItemAsync: pn:C,pk:WpayConnect_Angular,n:Saas.Tenants [13:11:59 DBG] Found in the cache: pn:C,pk:WpayConnect_Angular,n:Saas.Editions [13:11:59 DBG] Found in the cache: pn:C,pk:WpayConnect_Angular,n:Saas.Tenants [13:11:59 DBG] Found in the cache: pn:C,pk:WpayConnect_Angular,n:Saas.Tenants

Above logs from dotnet when no Redis or Mongo cache enabled ? Can you please confirm that's the case ?

I am trying to seed permission and localization data from microservice to administration service Db for microservice project. There should be some documentation how this ExternalLocalizer works and why I see that exception when I use LanguageManagementDataSeeder to seed Language data . Do you have any document how your manage permission and localization in distributed scenario. We are using comerical microservice template but with MongoDB.

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

I am using angular tenancy resolver with domain prefix method. I dont version my apis with that prefix just pass __tenant from angular login service to redirect URL which resolved right tenancy .

{ __tenant: this.multiTenancyService.domainTenant?.id } One tenant is resolved I can easily resolve users login external provider. At the moment using Auth0 with Organizations. Internal users use Azure Ad.

  1. It does break User linking registration.
  2. I need to create some custom logic for user to find there tenant login URL if they don't know about that.

Is there any guide how to implement it. I dont want to version all microservice API to use prefix either

Lepton Theme website : https://x.leptontheme.com

After I change theme it works until I go to navigate and select some page again. Quite Annoying.

I got to https://x.leptontheme.com website and see the same as well. No difference. Every time when i choose a page I also have to choose a theme again to make the styles visible. seems like style sheets are not loaded every time I choose a page. Please check in incognito mode. And I am using this website from Australia . its been like this from a month now, so I thought I report it.

Affichage de 1 à 10 sur 33 entrées
Made with ❤️ on ABP v8.2.0-preview Updated on mars 25, 2024, 15:11