Activities of "alper"

this case is not directly related to ABP Framework. ABP Framework uses Entity Framework Core as the database provider. Do you get the same problem with a vanilla .NET console application?

for now, you can generate with Suite and make the necessary modifications. On the other hand, I created an issue to support these modules for the new versions. (issue: 9022)

this is different that's mentioned in https://support.abp.io/QA/Questions/17 .we already support module templates. but Administration, Identity and Saas modules are not identical to the ABP new module template that's why ABP Suite cannot properly generate on these modules.

Answer

I Created a new project (Abp : 5.1.1) (angular) (not separated identity ) (SQL Server) And added a new module (abp add-module CustomModule --new --add-to-solution-file) Then when I added a simple AppService and related Controller,
When I run the project I get this error:

Autofac.Core.DependencyResolutionException: 'An exception was thrown while activating Volo.Abp.IdentityServer.Grants.PersistedGrantStore -> Volo.Abp.ObjectMapping.DefaultObjectMapper1[[Volo.Abp.IdentityServer.AbpIdentityServerDomainModule, Volo.Abp.IdentityServer.Domain, Version=5.1.1.0, Culture=neutral, PublicKeyToken=null]] -> Volo.Abp.AutoMapper.AutoMapperAutoObjectMappingProvider1[[Volo.Abp.IdentityServer.AbpIdentityServerDomainModule, Volo.Abp.IdentityServer.Domain, Version=5.1.1.0, Culture=neutral, PublicKeyToken=null]] -> λ:Volo.Abp.AutoMapper.IMapperAccessor -> λ:Volo.Abp.AutoMapper.MapperAccessor.'

5.1.1 had a problem adding a module. upgrade to 5.1.2...

Answer

@aldercove

ABP Version 5.1.1

  • MVC with public website and tiered identity server
  • EF Core
  • Steps needed to reproduce the problem:
  1. Create a new MVC solution with abp suite
  2. Run migrations
  3. Run the app

The profile picture does not seem to be working properly. It shows properly on the account page, but not in the web or public web applications. Doesn't make a difference if changing to Avatar/Gravatar or uploaded file, still shows:

Error in the browser on get of the picture:

With an Id that corresponds with the Admin user Id:

created an internal issue to repro and fix. moved to https://support.abp.io/QA/Questions/2444/Issues-with-Adding-New-Custom-Module-to-New-Project-5XX-Issue (issue: 8961)

Answer

@bqabani

(Abp : 5.1.1) (angular) (not separated identity )

When I try to run generate proxy command on new project that has one custom module, I face this error:

abp generate-proxy -t ng

[16:49:56 INF] ABP CLI (https://abp.io) [16:49:57 INF] Version 5.1.1 (Stable) [16:49:58 WRN] Couldn't determinate version of "@abp/ng.schematics" package. An unhandled exception occurred: NOT SUPPORTED: keyword "id", use "$id" for schema ID See ".....\AppData\Local\Temp\ng-C1btyE\angular-errors.log" for further details.

angular-errors.log content is:

[error] Error: NOT SUPPORTED: keyword "id", use "$id" for schema ID at Object.code (....\angular\node_modules@angular-devkit\core\node_modules\ajv\dist\vocabularies\core\id.js:6:15) at keywordCode (....\angular\node_modules@angular-devkit\core\node_modules\ajv\dist\compile\validate\index.js:454:13) at ....\angular\node_modules@angular-devkit\core\node_modules\ajv\dist\compile\validate\index.js:222:17 at CodeGen.code (....\angular\node_modules@angular-devkit\core\node_modules\ajv\dist\compile\codegen\index.js:439:13) at CodeGen.block (....\angular\node_modules@angular-devkit\core\node_modules\ajv\dist\compile\codegen\index.js:568:18) at iterateKeywords (....\angular\node_modules@angular-devkit\core\node_modules\ajv\dist\compile\validate\index.js:219:9) at groupKeywords (....\angular\node_modules@angular-devkit\core\node_modules\ajv\dist\compile\validate\index.js:208:13) at ....\angular\node_modules@angular-devkit\core\node_modules\ajv\dist\compile\validate\index.js:192:13 at CodeGen.code (....\angular\node_modules@angular-devkit\core\node_modules\ajv\dist\compile\codegen\index.js:439:13) at CodeGen.block (....\angular\node_modules@angular-devkit\core\node_modules\ajv\dist\compile\codegen\index.js:568:18)

created an internal issue to reproduce and fix. if we cannot reproduce we'll ask for extra help. (issue: 8960)

ok thanks @yekalkan. already fixed and will be delivered in the next patch release. probably in a week or 10 days.

You can send your project to support@abp.io

I tried to reproduce it with the latest but couldn't reproduce. We specifically need these 1- your entity.json 2- the following information:

  • ABP Framework version:
  • UI type: Angular / MVC / Blazor
  • DB provider: EF Core / MongoDB
  • Tiered (MVC) or Identity Server Separated (Angular):
  • Steps to reproduce the issue:

It was down during the new version release. And it’s up and working now.

Showing 451 to 460 of 1868 entries
Made with ❤️ on ABP v9.1.0-preview. Updated on November 11, 2024, 11:11