Activities of "manuel42"

  • ABP Framework version: v.6.0.0 (v5.3.3 other packages)
  • UI type: MVC
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): no
  • Exception message and stack trace:
  • Autofac.Core.DependencyResolutionException: An exception was thrown while activating Volo.Abp.Account.Web.Pages.Account.LoginModel -> Volo.Abp.Account.AccountAppService -> Volo.Abp.Account.Emailing.AccountEmailer -> Volo.Abp.UI.Navigation.Urls.AppUrlProvider -> Volo.Abp.TenantManagement.TenantStore -> Volo.Abp.ObjectMapping.DefaultObjectMapper1[[Volo.Abp.TenantManagement.AbpTenantManagementDomainModule, Volo.Abp.TenantManagement.Domain, Version=6.0.0.0, Culture=neutral, PublicKeyToken=null]] -> Volo.Abp.AutoMapper.AutoMapperAutoObjectMappingProvider1[[Volo.Abp.TenantManagement.AbpTenantManagementDomainModule, Volo.Abp.TenantManagement.Domain, Version=6.0.0.0, Culture=neutral, PublicKeyToken=null]] -> λ:Volo.Abp.AutoMapper.IMapperAccessor -> λ:Volo.Abp.AutoMapper.MapperAccessor. ---> AutoMapper.AutoMapperConfigurationException: Unmapped members were found. Review the types and members below. Add a custom mapping expression, ignore, add a custom resolver, or modify the source/destination type For no matching constructor, add a no-arg ctor, add optional arguments, or map all of the constructor parameters ====================================================================================== DatabaseBlob -> BlobDto (Destination member list) Volo.Abp.BlobStoring.Database.DatabaseBlob -> IT42Portal.AssetManagement.Blob.BlobDto (Destination member list)

Unmapped properties: Category

  • Steps to reproduce the issue:"

Hi, I have downloaded a module template with abp suite. Then I have created a UnifiedEfCoreEntityExtensionMappings.cs in the xxx.Web.Unified Module. This Class contains the code for the extension

public static void Configure()
{
    OneTimeRunner.Run(() =>            
    {
              
                ObjectExtensionManager.Instance
                   .MapEfCoreProperty<DatabaseBlob, bool>("AdditionalProperty");

              more extensions .....
     });
}
  

I call this method in the UnifieddbContextFactory.cs.

 public UnifiedDbContext CreateDbContext(string[] args)
 {
        UnifiedEfCoreEntityExtensionMappings.Configure(); // HERE

        var configuration = BuildConfiguration();

        var builder = new DbContextOptionsBuilder<UnifiedDbContext>()
            .UseSqlServer(configuration.GetConnectionString("Default"));

        return new UnifiedDbContext(builder.Options);
 }

The migrations is created and the extensions are done in the database. But when I create the mappings I always got the above mentioned exception.

May mappings are done in the xxx.Application.Module and looks like this


        CreateMap<DatabaseBlob, BlobDto>()
            .MapExtraProperties(MappingPropertyDefinitionChecks.None, null, true)
            .ReverseMap();
            
        ... more mappings they look identical

What should I do that the mapping works ?

thank you for your help

I recreated the whole project and now it works. thank you for you help

'Volo.Abp.AspNetCore.Mvc.ProxyScripting.AbpServiceProxyScriptController.GetAll (Volo.Abp.AspNetCore.Mvc)' 2022-06-29 07:43:12.017 +02:00 [INF] Request finished HTTP/2 GET https://localhost:44374/Abp/ServiceProxyScript - - - 200 7597 application/javascript 794.7993ms 2022-06-29 07:43:12.208 +02:00 [INF] Executing ObjectResult, writing value of type 'Volo.Abp.Content.RemoteStreamContent'. 2022-06-29 07:43:12.211 +02:00 [INF] Executed action Volo.Abp.Account.AccountController.GetProfilePictureFileAsync (Volo.Abp.Account.Pro.Public.HttpApi) in 927.5125ms 2022-06-29 07:43:12.211 +02:00 [INF] Executed endpoint 'Volo.Abp.Account.AccountController.GetProfilePictureFileAsync (Volo.Abp.Account.Pro.Public.HttpApi)' 2022-06-29 07:43:12.211 +02:00 [INF] Request finished HTTP/2 GET https://localhost:44374/api/account/profile-picture-file/55cd24e3-d868-596e-7e20-3a04bb2b135e - - - 200 - image/jpeg 986.3231ms 2022-06-29 07:43:12.297 +02:00 [DBG] Executed AbpApplicationConfigurationAppService.GetAsync(). 2022-06-29 07:43:12.319 +02:00 [DBG] Added 0 entity changes to the current audit log 2022-06-29 07:43:12.319 +02:00 [INF] Executing ContentResult with HTTP Response ContentType of application/javascript 2022-06-29 07:43:12.321 +02:00 [INF] Executed action Volo.Abp.AspNetCore.Mvc.ApplicationConfigurations.AbpApplicationConfigurationScriptController.Get (Volo.Abp.AspNetCore.Mvc) in 1070.3952ms 2022-06-29 07:43:12.321 +02:00 [INF] Executed endpoint 'Volo.Abp.AspNetCore.Mvc.ApplicationConfigurations.AbpApplicationConfigurationScriptController.Get (Volo.Abp.AspNetCore.Mvc)' 2022-06-29 07:43:12.327 +02:00 [INF] Request finished HTTP/2 GET https://localhost:44374/Abp/ApplicationConfigurationScript - - - 200 228888 application/javascript 1122.7238ms 2022-06-29 07:43:12.385 +02:00 [INF] Request starting HTTP/2 GET https://localhost:44374/api/chat/contact/total-unread-message-count application/json - 2022-06-29 07:43:12.388 +02:00 [INF] Request starting HTTP/2 POST https://localhost:44374/signalr-hubs/chat/negotiate?negotiateVersion=1 text/plain;charset=UTF-8 0 2022-06-29 07:43:12.395 +02:00 [INF] Executing endpoint 'Volo.Chat.Users.ContactController.GetTotalUnreadMessageCountAsync (Volo.Chat.HttpApi)' 2 2022-06-29 07:43:18.790 +02:00 [INF] Request starting HTTP/2 GET https://localhost:44374/Abp/ServiceProxyScript - - 2022-06-29 07:43:18.791 +02:00 [INF] Request starting HTTP/2 GET https://localhost:44374/_vs/browserLink - - 2022-06-29 07:43:18.791 +02:00 [INF] Request finished HTTP/2 GET https://localhost:44374/_framework/aspnetcore-browser-refresh.js - - - 200 11998 application/javascript;+charset=utf-8 1.1909ms 2022-06-29 07:43:18.791 +02:00 [INF] Request starting HTTP/2 GET https://localhost:44374/cms-kit/global-resources/script - - 2022-06-29 07:43:18.791 +02:00 [INF] Request starting HTTP/2 GET https://localhost:44374/api/account/profile-picture-file/55cd24e3-d868-596e-7e20-3a04bb2b135e - - 2022-06-29 07:43:18.795 +02:00 [INF] Executed endpoint '/signalr-hubs/chat' 2022-06-29 07:43:18.796 +02:00 [INF] Request finished HTTP/1.1 GET https://localhost:44374/signalr-hubs/chat?id=XpTZyeHIuPzDZb2dyECxNQ - - - 101 - - 6347.2892ms 2022-06-29 07:43:18.796 +02:00 [INF] Executing FileContentResult, sending file with download name '' ... 2022-06-29 07:43:18.796 +02:00 [INF] Executed action Volo.CmsKit.Public.Web.Controllers.CmsKitPublicGlobalResourcesController.GetGlobalStyleAsync (Volo.CmsKit.Public.Web) in 6.2613ms 2022-06-29 07:43:18.796 +02:00 [INF] Executed endpoint 'Volo.CmsKit.Public.Web.Controllers.CmsKitPublicGlobalResourcesController.GetGlobalStyleAsync (Volo.CmsKit.Public.Web)' 2022-06-29 07:43:18.798 +02:00 [INF] Request finished HTTP/2 GET https://localhost:44374/cms-kit/global-resources/style - - - 200 0 text/css 17.3161ms 2022-06-29 07:43:18.800 +02:00 [INF] Executing endpoint 'Volo.Abp.AspNetCore.Mvc.ApplicationConfigurations.AbpApplicationConfigurationScriptController.Get (Volo.Abp.AspNetCore.Mvc)' 2022-06-29 07:43:18.808 +02:00 [INF] Executing FileContentResult, sending file with download name '' ... 2022-06-29 07:43:18.809 +02:00 [INF] Executed action Volo.CmsKit.Public.Web.Controllers.CmsKitPublicGlobalResourcesController.GetGlobalScriptAsync (Volo.CmsKit.Public.Web) in 3.4511ms 2022-06-29 07:43:18.809 +02:00 [INF] Executed endpoint 'Volo.CmsKit.Public.Web.Controllers.CmsKitPublicGlobalResourcesController.GetGlobalScriptAsync (Volo.CmsKit.Public.Web)' 2022-06-29 07:43:18.809 +02:00 [INF] Executing ContentResult with HTTP Response ContentType of application/javascript 2022-06-29 07:43:18.810 +02:00 [INF] Request finished HTTP/2 GET https://localhost:44374/cms-kit/global-resources/script - - - 200 0 application/javascript 18.5439ms 2022-06-29 07:43:18.810 +02:00 [INF] Executed action Volo.Abp.AspNetCore.Mvc.ProxyScripting.AbpServiceProxyScriptController.GetAll (Volo.Abp.AspNetCore.Mvc) in 5.2275ms 2022-06-29 07:43:18.810 +02:00 [INF] Executed endpoint 'Volo.Abp.AspNetCore.Mvc.ProxyScripting.AbpServiceProxyScriptController.GetAll (Volo.Abp.AspNetCore.Mvc)' 2022-06-29 07:43:18.811 +02:00 [INF] Request finished HTTP/2 GET https://localhost:44374/Abp/ServiceProxyScript - - - 200 7597 application/javascript 20.5907ms 2022-06-29 07:43:18.817 +02:00 [INF] Executing endpoint 'Volo.Abp.Account.AccountController.GetProfilePictureFileAsync (Volo.Abp.Account.Pro.Public.HttpApi)' 2022-06-29 07:43:19.165 +02:00 [DBG] PermissionStore.GetCacheItemAsync: pn:U,pk:55cd24e3-d868-596e-7e20-3a04bb2b135e,n:Chat.Messaging 2022-06-29 07:43:19.165 +02:00 [DBG] Found in the cache: pn:U,pk:55cd24e3-d868-596e-7e20-3a04bb2b135e,n:Chat.Messaging 2022-06-29 07:43:19.166 +02:00 [DBG] PermissionStore.GetCacheItemAsync: pn:R,pk:admin,n:Chat.Messaging 2022-06-29 07:43:19.166 +02:00 [DBG] Found in the cache: pn:R,pk:admin,n:Chat.Messaging 2022-06-29 07:43:19.167 +02:00 [INF] Executing endpoint '/signalr-hubs/chat/negotiate' 2022-06-29 07:43:19.168 +02:00 [INF] Executed endpoint '/signalr-hubs/chat/negotiate' 2022-06-29 07:43:19.168 +02:00 [INF] Request finished HTTP/2 POST https://localhost:44374/signalr-hubs/chat/negotiate?negotiateVersion=1 text/plain;charset=UTF-8 0 - 200 316 application/json 10.8984ms 2022-06-29 07:43:19.170 +02:00 [DBG] PermissionStore.GetCacheItemAsync: pn:U,pk:55cd24e3-d868-596e-7e20-3a04bb2b135e,n:Chat.Messaging 2022-06-29 07:43:19.170 +02:00 [DBG] Found in the cache: pn:U,pk:55cd24e3-d868-596e-7e20-3a04bb2b135e,n:Chat.Messaging 2022-06-29 07:43:19.170 +02:00 [DBG] PermissionStore.GetCacheItemAsync: pn:R,pk:admin,n:Chat.Messaging 2022-06-29 07:43:19.171 +02:00 [DBG] Found in the cache: pn:R,pk:admin,n:Chat.Messaging 2022-06-29 07:43:19.181 +02:00 [INF] Request starting HTTP/2 GET https://localhost:44374/api/app/projects?filterText=&shortName=&longName=&description=&startDateMin=&startDateMax=&endDateMin=&endDateMax=&budgetMin=&budgetMax=&customerId=925501c6-86aa-eab0-0bfa-3a04bb306f69&sorting=%25%25entity-name-camelcase-datatable%25%25.shortName%20asc&skipCount=0&maxResultCount=10 application/json - 2022-06-29 07:43:19.182 +02:00 [DBG] Added 0 entity changes to the current audit log 2022-06-29 07:43:19.184 +02:00 [INF] Executing ObjectResult, writing value of type 'System.Int32'. 2022-06-29 07:43:19.185 +02:00 [INF] Executed action Volo.Chat.Users.ContactController.GetTotalUnreadMessageCountAsync (Volo.Chat.HttpApi) in 20.6592ms 2022-06-29 07:43:19.185 +02:00 [INF] Executed endpoint 'Volo.Chat.Users.ContactController.GetTotalUnreadMessageCountAsync (Volo.Chat.HttpApi)' 2022-06-29 07:43:19.186 +02:00 [INF] Request finished HTTP/2 GET https://localhost:44374/api/chat/contact/total-unread-message-count application/json - - 200 - application/json;+charset=utf-8 30.0981ms 2022-06-29 07:43:19.188 +02:00 [DBG] PermissionStore.GetCacheItemAsync: pn:U,pk:55cd24e3-d868-596e-7e20-3a04bb2b135e,n:IT42Portal.Projects 2022-06-29 07:43:19.189 +02:00 [DBG] Found in the cache: pn:U,pk:55cd24e3-d868-596e-7e20-3a04bb2b135e,n:IT42Portal.Projects 2022-06-29 07:43:19.189 +02:00 [DBG] PermissionStore.GetCacheItemAsync: pn:R,pk:admin,n:IT42Portal.Projects 2022-06-29 07:43:19.189 +02:00 [DBG] Found in the cache: pn:R,pk:admin,n:IT42Portal.Projects 2022-06-29 07:43:19.190 +02:00 [INF] Executing endpoint 'IT42Portal.Projects.ProjectsAppService.GetListAsync (IT42Portal.Application)' 2022-06-29 07:43:19.198 +02:00 [INF] Route matched with {action = "GetList", controller = "Projects", area = "", page = ""}. Executing controller action with signature System.Threading.Tasks.Task1[Volo.Abp.Application.Dtos.PagedResultDto1[IT42Portal.Projects.ProjectWithNavigationPropertiesDto]] GetListAsync(IT42Portal.Projects.GetProjectsInput) on controller IT42Portal.Projects.ProjectsAppService (IT42Portal.Application). 2022-06-29 07:43:19.255 +02:00 [INF] Request starting HTTP/1.1 GET https://localhost:44374/signalr-hubs/chat?id=6zV6h3EYIetWoE99ck2Kjg - - 2022-06-29 07:43:19.261 +02:00 [INF] No CORS policy found for the specified request. 2022-06-29 07:43:19.263 +02:00 [DBG] PermissionStore.GetCacheItemAsync: pn:U,pk:55cd24e3-d868-596e-7e20-3a04bb2b135e,n:Chat.Messaging 2022-06-29 07:43:19.264 +02:00 [DBG] Found in the cache: pn:U,pk:55cd24e3-d868-596e-7e20-3a04bb2b135e,n:Chat.Messaging 2022-06-29 07:43:19.264 +02:00 [DBG] PermissionStore.GetCacheItemAsync: pn:R,pk:admin,n:Chat.Messaging 2022-06-29 07:43:19.264 +02:00 [DBG] Found in the cache: pn:R,pk:admin,n:Chat.Messaging 2022-06-29 07:43:19.265 +02:00 [INF] Executing endpoint '/signalr-hubs/chat' 2022-06-29 07:43:19.289 +02:00 [DBG] PermissionStore.GetCacheItemAsync: pn:U,pk:55cd24e3-d868-596e-7e20-3a04bb2b135e,n:IT42Portal.Projects 2022-06-29 07:43:19.289 +02:00 [DBG] Found in the cache: pn:U,pk:55cd24e3-d868-596e-7e20-3a04bb2b135e,n:IT42Portal.Projects 2022-06-29 07:43:19.289 +02:00 [DBG] PermissionStore.GetCacheItemAsync: pn:R,pk:admin,n:IT42Portal.Projects 2022-06-29 07:43:19.290 +02:00 [DBG] Found in the cache: pn:R,pk:admin,n:IT42Portal.Projects 2022-06-29 07:43:19.660 +02:00 [ERR] ---------- RemoteServiceErrorInfo ---------- { "code": null, "message": "An internal error occurred during your request!", "details": null, "data": {}, "validationErrors": null }

2022-06-29 07:43:19.661 +02:00 [ERR] Expression expected Expression expected (at index 0) 2022-06-29 07:43:19.673 +02:00 [INF] Executing ObjectResult, writing value of type 'Volo.Abp.Http.RemoteServiceErrorResponse'. 2022-06-29 07:43:19.675 +02:00 [INF] Executed action IT42Portal.Projects.ProjectsAppService.GetListAsync (IT42Portal.Application) in 476.8967ms 2022-06-29 07:43:19.675 +02:00 [INF] Executed endpoint 'IT42Portal.Projects.ProjectsAppService.GetListAsync (IT42Portal.Application)' 2022-06-29 07:43:20.065 +02:00 [DBG] Added 0 entity changes to the current audit log 2022-06-29 07:43:20.083 +02:00 [DBG] Added 0 entity changes to the current audit log 2022-06-29 07:43:20.086 +02:00 [INF] Request finished HTTP/2 GET https://localhost:44374/api/app/projects?filterText=&shortName=&longName=&description=&startDateMin=&startDateMax=&endDateMin=&endDateMax=&budgetMin=&budgetMax=&customerId=925501c6-86aa-eab0-0bfa-3a04bb306f69&sorting=%25%25entity-name-camelcase-datatable%25%25.shortName%20asc&skipCount=0&maxResultCount=10 application/json - - 500 - application/json;+charset=utf-8 905.2297ms 2022-06-29 07:43:26.284 +02:00 [DBG] Executing HealthCheck collector HostedService. 2022-06-29 07:43:26.298 +02:00 [INF] Start processing HTTP request GET "https://localhost:44374/health-status" 2022-06-29 07:43:26.298 +02:00 [INF] Sending HTTP request GET "https://localhost:44374/health-status" 2022-06-29 07:43:26.300 +02:00 [INF] Request starting HTTP/1.1 GET https://localhost:44374/health-status - - 2022-06-29 07:43:26.303 +02:00 [INF] Executing endpoint 'Health checks' 2022-06-29 07:43:26.308 +02:00 [DBG] Added 0 entity changes to the current audit log 2022-06-29 07:43:26.309 +02:00 [INF] Executed endpoint 'Health checks' 2022-06-29 07:43:26.309 +02:00 [INF] Received HTTP response headers after 10.972ms - 200 2022-06-29 07:43:26.309 +02:00 [INF] End processing HTTP request after 11.1112ms - 200 2022-06-29 07:43:26.310 +02:00 [INF] Request finished HTTP/1.1 GET https://localhost:44374/health-status - - - 200 - application/json 9.2502ms 2022-06-29 07:43:26.311 +02:00 [DBG] HealthReportCollector - health report execution history saved. 2022-06-29 07:43:26.311 +02:00 [DBG] HealthReport history already exists and is in the same state, updating the values. 2022-06-29 07:43:26.311 +02:00 [DBG] HealthReportCollector has completed. 2022-06-29 07:43:26.311 +02:00 [DBG] HealthCheck collector HostedService executed successfully.

hi @yekalkan,

I already use the same suite version thank you for the hint. In the logs if found the following

[ERR] ---------- RemoteServiceErrorInfo ---------- { "code": null, "message": "An internal error occurred during your request!", "details": null, "data": {}, "validationErrors": null }

2022-06-28 09:17:27.100 +02:00 [ERR] Expression expected

  • ABP Framework version: v5.2.2
  • UI type: MVC
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): no
  • Exception message and stack trace: An internal error occurred during your request!
  • Steps to reproduce the issue:" Create a CRUD Module with a Dropdown that contains the entity of a another CRUD generated Module

Hi Guys, I have created a CRUD module with suite but always when I have created module I get this error message and it loads no data. What I am doing wrong ?

kind regards manuel

Question
  • ABP Framework version: 5.2.2
  • UI type: MVC
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): no
  • Exception message and stack trace: None
  • Steps to reproduce the issue:" Start the DBMigrator and a add a user with password length 5 signs

Hello, I have tried to change the default password settings.

In my SettingDefinitionProvider class I have added the SettingsDefiniton

  context
        .Add(
                new SettingDefinition("Abp.Identity.Password.RequiredLength"),
                new SettingDefinition("Abp.Identity.Password.RequiredUniqueChars"),
                new SettingDefinition("Abp.Identity.Password.RequireNonAlphanumeric"),
                new SettingDefinition("Abp.Identity.Password.RequireLowercase"),
                new SettingDefinition("Abp.Identity.Password.RequireUppercase"),
                new SettingDefinition("Abp.Identity.Password.RequireDigit")
            );

And in my appsettings.json I have tried to set the values

    "Settings": {
    "Abp.Identity.Password.RequiredLength": "5",
    "Abp.Identity.Password.RequiredUniqueChars": "0",
    "Abp.Identity.Password.RequireNonAlphanumeric": "false",
    "Abp.Identity.Password.RequireLowercase": "false",
    "Abp.Identity.Password.RequireUppercase": "false",
    "Abp.Identity.Password.RequireDigit": "true"
    }

But it doesnt work the default vaules are the same. What I am doing wrong or what should I do ?

Showing 61 to 66 of 66 entries
Made with ❤️ on ABP v9.1.0-preview. Updated on November 01, 2024, 05:35