Activities of "deathmid2233@gmail.com"

{"error":{"code":null,"message":"There is no entity IdentityUser with id = 00000000-0000-0000-0000-000000000000!","details":null,"data":null,"validationErrors":null}}

I successfully configured Twilio And received a text message

When you submit a point, it pops up There is no entity IdentityUser with id = 00000000-0000-0000-0000-000000000000!

Hi,

I need the following information to better answer your question:

  • Your ABP Framework version.
  • Your User Interface type (Angular/MVC etc.)

ABP version 4.3.2 Your User Interface type: MVC

This is a bug, we will fix it. by the way, ticket refunded : )

For now, can you try again after creating the following class under the **.Web/Pages/Account/Components/ProfileManagementGroup/PersonalInfo folders:

    [Dependency(ReplaceServices = true)] 
    [ExposeServices(typeof(ConfirmPhoneNumberModalModel))] 
    public class MyConfirmPhoneNumberModalModel : ConfirmPhoneNumberModalModel 
    { 
        private readonly IAccountAppService _accountAppService; 
         
        public MyConfirmPhoneNumberModalModel(IAccountAppService accountAppService) : base(accountAppService) 
        { 
            _accountAppService = accountAppService; 
        } 
 
        public override async Task OnPostAsync() 
        { 
            await _accountAppService.ConfirmPhoneNumberAsync(new ConfirmPhoneNumberInput 
            { 
                UserId = CurrentUser.GetId(), 
                Token = PhoneConfirmationToken 
            }); 
        } 
    } 

Note: Folders are just for keeping order :)

Please let me know if it works in your case.

yes, it works

ABP Framework version: v4.3 UI type: MVC DB provider: EF Core

How to disable the API controller of the default module?

I tried to comment part of the code But no effect

what should I do?

Do you want to hide them or remove/disable them?

i want disable them

Disabling those controllers will break your project. None of the UI pages will work stable. Because javascript api calls won't work without these api's.

Acme.BookStore.Web this is WEB project

I created another WEB API project Acme.BookStore.WebAPI

I just want to open the book api controller on Acme.BookStore.WebAPI

Is Acme.BookStore.WebAPI dependent on Acme.BookStore.Web?

like this

Same as Acme.BookStore.Web

But does not rely on Acme.BookStore.Web

You need to create new a Application Layer and a HttpApi Layer as well. So, you can move Book Api related code to new projects and keep module-related api's in old projects. Then reference just new projects from Acme.BookStore.WebApi.

I understand, thank you

  • ABP Framework version: v4.3.3

  • UI type: MVC

  • DB provider: EF Core

  • Tiered (MVC) or Identity Server Separated (Angular): no

  • Exception message and stack trace: There is already an existing permission group with name: AbpIdentity at Volo.Abp.Authorization.Permissions.PermissionDefinitionContext.AddGroup(String name, ILocalizableString displayName, MultiTenancySides multiTenancySide) at Volo.Abp.Identity.IdentityPermissionDefinitionProvider.Define(IPermissionDefinitionContext context) at Volo.Abp.Authorization.Permissions.PermissionDefinitionManager.CreatePermissionGroupDefinitions() at System.Lazy1.ViaFactory(LazyThreadSafetyMode mode) at System.Lazy1.ExecutionAndPublication(LazyHelper executionAndPublication, Boolean useDefaultConstructor) at System.Lazy1.CreateValue() at Volo.Abp.Authorization.Permissions.PermissionDefinitionManager.CreatePermissionDefinitions() at System.Lazy1.ViaFactory(LazyThreadSafetyMode mode) at System.Lazy1.ExecutionAndPublication(LazyHelper executionAndPublication, Boolean useDefaultConstructor) at System.Lazy1.CreateValue() at System.Lazy1.get_Value() at Volo.Abp.Authorization.Permissions.PermissionDefinitionManager.get_PermissionDefinitions() at Volo.Abp.Authorization.Permissions.PermissionDefinitionManager.GetPermissions() at Volo.Abp.PermissionManagement.PermissionDataSeedContributor.SeedAsync(DataSeedContext context) at Volo.Abp.Data.DataSeeder.<SeedAsync>d__7.MoveNext() at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Runtime.CompilerServices.ConfiguredTaskAwaitable.ConfiguredTaskAwaiter.GetResult() at Castle.DynamicProxy.AsyncInterceptorBase.<ProceedAsynchronous>d__13.MoveNext() at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Runtime.CompilerServices.ConfiguredTaskAwaitable.ConfiguredTaskAwaiter.GetResult() at Volo.Abp.Castle.DynamicProxy.CastleAbpMethodInvocationAdapter.<ProceedAsync>d__7.MoveNext() at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Runtime.CompilerServices.ConfiguredTaskAwaitable.ConfiguredTaskAwaiter.GetResult() at Volo.Abp.Uow.UnitOfWorkInterceptor.<InterceptAsync>d__2.MoveNext() at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Runtime.CompilerServices.ConfiguredTaskAwaitable.ConfiguredTaskAwaiter.GetResult() at Volo.Abp.Castle.DynamicProxy.CastleAsyncAbpInterceptorAdapter1.<InterceptAsync>d__2.MoveNext() at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Runtime.CompilerServices.TaskAwaiter.GetResult() at BookStore.Data.BookStoreDbMigrationService.<SeedDataAsync>d__11.MoveNext() in D:\code\Demo\BookStore\src\BookStore.Domain\Data\BookStoreDbMigrationService.cs:line 103 at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Runtime.CompilerServices.TaskAwaiter.GetResult() at BookStore.Data.BookStoreDbMigrationService.<MigrateAsync>d__9.MoveNext() in D:\code\Demo\BookStore\src\BookStore.Domain\Data\BookStoreDbMigrationService.cs:line 53 at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Runtime.CompilerServices.TaskAwaiter.GetResult() at BookStore.DbMigrator.DbMigratorHostedService.<StartAsync>d__2.MoveNext() in D:\code\Demo\BookStore\src\BookStore.DbMigrator\DbMigratorHostedService.cs:line 30 at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at Microsoft.Extensions.Hosting.Internal.Host.<StartAsync>d__9.MoveNext() at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Runtime.CompilerServices.ConfiguredTaskAwaitable.ConfiguredTaskAwaiter.GetResult() at Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.<RunAsync>d__4.MoveNext() at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.<RunAsync>d__4.MoveNext() at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Runtime.CompilerServices.TaskAwaiter.GetResult() at BookStore.DbMigrator.Program.<Main>d__0.MoveNext() in D:\code\Demo\BookStore\src\BookStore.DbMigrator\Program.cs:line 29

  • Steps to reproduce the issue:" I want to remove IdentityServer, it is too complicated I followed the steps provided here https://github.com/abpframework/abp/issues/8023 throw ex : There is already an existing permission group with name: AbpIdentity

Hi

There is a repo you can refer it: https://github.com/antosubash/AuthChange

ok, thank you I think I found the reason

Showing 1 to 10 of 23 entries
Made with ❤️ on ABP v8.2.0-preview Updated on March 25, 2024, 15:11