Activities of "dipak.z"

  • ABP Framework version: v5.2.1
  • UI Type: MVC
  • Database System: EF Core ( PostgreSQL)
  • Tiered (for MVC) or Auth Server Separated (for Angular): no
  • Exception message and full stack trace:
  • Steps to reproduce the issue:

-> When User Change Own Password then another sessions of that user force fully logout(this issue show in vulnerability tool report.)

i am using AutoAPIController in one module its throw error. in second module i write in httpapi project it doesn't throw any error if i implement Interface of appservice in Controller if i removed that interface and use directly in controller then throw error.

if i can share i will sent you test project on monday.

i have modules in ths structure and its working fine

but in tired solution its not working.

  • also i created another project (non tired with web and web public) and install nuget and its also working in this

Thanks

Please you can take Anydesk or Zoom meeting for this . According to Company Policy I Can't Share Nuget packages.

ok i will mail you nuget pacakge url. and create project from abp suite with tired and webpublic. thank you.

hi

You can try to reproduce this problem in a new template project and module.

-> I have module in non tired solution its working in that solution -> after publish nuget packages of module install in other non tired solution and its work in this solution -> create another tired soltuion in this install that module its not working in this

hi

Please share your test project with liming.ma@volosoft.com include the steps.

Thanks

But Nuget packages of my module is on internal url.

Steps:- Create New Project from abp suite ->Install Nuget Pacakge of Custom module in each project & Add Depends On. ->Migrate Db -> Run Project and when open CRUD Page of Module or Invoke ViewComponenet of module then throw this error

hi

Can you share a simple tiered project to show the problem?

liming.ma@volosoft.com

i created sample project from abp suite. this is structure

hi

You should create a IMapComponentSettingRepository interface and implement it on EF Core module.

then inject the IMapComponentSettingRepository from MapComponentAppService

See

https://github.com/abpframework/abp/blob/dev/modules/identity/src/Volo.Abp.Identity.EntityFrameworkCore/Volo/Abp/Identity/EntityFrameworkCore/AbpIdentityEntityFrameworkCoreModule.cs#L14-L23

but module is working fine in non tired solution and all code is in module.this is not worked in tired solution

also in module there is not any repository named IMapComponentSettingRepository

public class MapComponentAppService : CrudAppService< MapComponentSetting, MapComponentSettingDto, Guid, PagedAndSortedResultRequestDto, CreateUpdateMapComponentSettingDto>, IMapComponentAppService {

    public MapComponentAppService(IRepository&lt;MapComponentSetting, Guid&gt; repository) :base(repository) { 
    }
    ........//Other Methods

}

i already do that and its throw error when i run ViewComponent from Module @await Component.InvokeAsync(typeof(SGLMapComponent.Web.Components.Map.MapViewComponent), new {pageName="Portal"})

An unhandled exception occurred while processing the request. DependencyResolutionException: None of the constructors found on type 'SGLMapComponent.MapComponent.MapComponentAppService' can be invoked with the available services and parameters: Cannot resolve parameter 'Volo.Abp.Domain.Repositories.IRepository2[SGLMapComponent.MapComponentSettings.MapComponentSetting,System.Guid] repository' of constructor 'Void .ctor(Volo.Abp.Domain.Repositories.IRepository2[SGLMapComponent.MapComponentSettings.MapComponentSetting,System.Guid])'.

See https://autofac.rtfd.io/help/no-constructors-bindable for more info.

Autofac.Core.Activators.Reflection.ReflectionActivator+<>c__DisplayClass14_0.<UseSingleConstructorActivation>b__0(ResolveRequestContext context, Action<ResolveRequestContext> next) DependencyResolutionException: An exception was thrown while activating SGLMapComponent.Web.Components.Map.MapViewComponent -> SGLMapComponent.MapComponent.MapComponentAppService.

ModuleName -> SGLMapComponent

this module run perfectly in NonTired Solution

Zobrazeno od 11 do 20 z celkem 58 záznamů
Made with ❤️ on ABP v8.2.0-preview Updated on března 25, 2024, 15:11