Starts in:
2 DAYS
8 HRS
58 MIN
26 SEC
Starts in:
2 D
8 H
58 M
26 S

Activities of "bqabani"

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.'

Answer

Another Issue: (Abp : 5.1.1) (angular) (not separated identity ) (SQL Server)

When I add/change entities to a custom abp module. And then run migrator on the host project (EntityFrameworkCore) it did not generate migration script for changes (but it was working on previous versions, and it works on this version when I do changes to the host project, my issue is when I use the custom abp module)

the generated migration is empty

Answer

(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)

We face the same issue we have been trying to solve this for three days

Answer

The issue is solved by changing http to be https (unfortunately there is no error message to tell the the issue, you just need to guess!)

Dears,

I have a working abp in local environment, when I published to local staging server (without https) it runs but no login links work, all (Login) links in menu and homepage does not do anything!

I have no error in console.

Any idea?

It is 4.2 version (Angular) Commercial

Answer

Dears,

I have a working abp in local environment, when I published to local staging server (without https) it runs but no login links work, all (Login) links in menu and homepage does not do anything!

I have no error in console.

Any idea?

It is 4.2 version (Angular) Commercial

Answer

Any update? I got the same error:

Warning: Entry point '@volo/abp.ng.account/config' contains deep imports into '......./angular/projects/account/admin/src/public-api.ts'. This is probably not a problem, but may cause the compilation of entry points to be out of order.

Error: Failed to compile entry-point @volo/abp.ng.account/config (es2015 as esm2015) due to compilation errors:
projects/account/admin/src/account-settings.module.ts:28:14 - error NG6002: Appears in the NgModule.imports of AccountConfigModule, but could not be resolved to an NgModule class.

Is it missing an @NgModule annotation?

28 export class AccountSettingsModule {}

Dear I have the error in abp 4.0.2 (angular , ef) host referencing custom module made by myself.

Please share with us more information regarding this exception and how did you solve it

Exception says:

[ERR] Could not found remote action for method: System.Threading.Tasks.Task`1[Volo.Abp.Application.Dtos.PagedResultDto`1[Sw.Shared.Attachments.AttachmentDetailWithNavigationPropertiesDto]] GetListAsync(Sw.Shared.Attachments.GetAttachmentDetailsInput) on the URL: https://localhost:44398/
Volo.Abp.AbpException: Could not found remote action for method: System.Threading.Tasks.Task`1[Volo.Abp.Application.Dtos.PagedResultDto`1[Sw.Shared.Attachments.AttachmentDetailWithNavigationPropertiesDto]] GetListAsync(Sw.Shared.Attachments.GetAttachmentDetailsInput) on the URL: https://localhost:44398/
at Volo.Abp.Http.Client.DynamicProxying.ApiDescriptionFinder.FindActionAsync(HttpClient client, String baseUrl, Type serviceType, MethodInfo method)
at Volo.Abp.Http.Client.DynamicProxying.DynamicHttpProxyInterceptor`1.MakeRequestAsync(IAbpMethodInvocation invocation) at Volo.Abp.Http.Client.DynamicProxying.DynamicHttpProxyInterceptor`1\.MakeRequestAndGetResultAsync\[T\]\(IAbpMethodInvocation invocation\)
at Volo.Abp.Http.Client.DynamicProxying.DynamicHttpProxyInterceptor`1.GetResultAsync(Task task, Type resultType) at Volo.Abp.Http.Client.DynamicProxying.DynamicHttpProxyInterceptor`1.InterceptAsync(IAbpMethodInvocation invocation)
at Volo.Abp.Castle.DynamicProxy.CastleAsyncAbpInterceptorAdapter`1.InterceptAsync[TResult](IInvocation invocation, IInvocationProceedInfo proceedInfo, Func`3 proceed)
at Castle\.DynamicProxy\.AsyncInterceptorBase\.ProceedAsynchronous\[TResult\]\(IInvocation invocation\, IInvocationProceedInfo proceedInfo\)
at Volo.Abp.Castle.DynamicProxy.CastleAbpMethodInvocationAdapterWithReturnValue`1.ProceedAsync() at Volo.Abp.Validation.ValidationInterceptor.InterceptAsync(IAbpMethodInvocation invocation) at Volo.Abp.Castle.DynamicProxy.CastleAsyncAbpInterceptorAdapter`1.InterceptAsync[TResult](IInvocation invocation, IInvocationProceedInfo proceedInfo, Func`3 proceed) at Sw.Shared.Controllers.Settings.AttachmentDetailController.GetListAsync(GetAttachmentDetailsInput input) in D:\Projects\Sw.Shared\Sw.Shared\src\Sw.Shared.HttpApi\Controllers\Attachments\AttachmentDetailController.cs:line 67 at lambda_method2317(Closure , Object ) at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.AwaitableObjectResultExecutor.Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeActionMethodAsync>g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask`1 actionResultValueTask)
at Microsoft\.AspNetCore\.Mvc\.Infrastructure\.ControllerActionInvoker\.g\_\_Awaited\|10\_0\(ControllerActionInvoker invoker\, Task lastTask\, State next\, Scope scope\, Object state\, Boolean isCompleted\)

at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
at Microsoft\.AspNetCore\.Mvc\.Infrastructure\.ControllerActionInvoker\.g\_\_Awaited\|13\_0\(ControllerActionInvoker invoker\, Task lastTask\, State next\, Scope scope\, Object state\, Boolean isCompleted\)
Answer

Dears, Yesterday I updated npm packages to (4.0.2), and got this error: (the project is did not change, it is as was generated from suite)!

ERROR NullInjectorError: R3InjectorError(AppModule)[LocalizationService -> AbpApplicationConfigurationService -> RestService -> InjectionToken CORE_OPTIONS -> InjectionToken CORE_OPTIONS -> InjectionToken CORE_OPTIONS]: NullInjectorError: No provider for InjectionToken CORE_OPTIONS! at NullInjector.get (http://localhost:4200/vendor.js:61902:27) at R3Injector.get (http://localhost:4200/vendor.js:62069:33) at R3Injector.get (http://localhost:4200/vendor.js:62069:33) at R3Injector.get (http://localhost:4200/vendor.js:62069:33) at injectInjectorOnly (http://localhost:4200/vendor.js:55999:33) at ɵɵinject (http://localhost:4200/vendor.js:56003:61) at Object.RestService_Factory [as factory] (http://localhost:4200/vendor.js:129224:223) at R3Injector.hydrate (http://localhost:4200/vendor.js:62237:35) at R3Injector.get (http://localhost:4200/vendor.js:62058:33) at injectInjectorOnly (http://localhost:4200/vendor.js:55999:33)

<br> <br>

Answer

Dear @Jurec I tried the same scenario,

This issue looks because you use version 4.0.1 try to downgrade to v 4.0.0 it will works fine.

I tried the same scanrio with EF , and tried it with identity seperated and with merge identity with the host, the same issue

You can try to downgrade your font end packages (replace 4.0.1 with 4.0.0 and then yarn) If did not work, try to downgrade abp to version 4.0.0

Showing 21 to 30 of 30 entries
Made with ❤️ on ABP v9.1.0-preview. Updated on November 20, 2024, 13:06