Activities of "cangunaydin"

nope it is not.

  • ABP Framework version: v9.0.x
  • Database System: EF Core (PostgreSQL)
  • Exception message and full stack trace:
  • [22:51:05 ERR] There is no such an entity. Entity type: Volo.Abp.Identity.IdentityUser, id: 3a173a2b-c7d5-efa2-a1a7-ea8c589cbbff Volo.Abp.Domain.Entities.EntityNotFoundException: There is no such an entity. Entity type: Volo.Abp.Identity.IdentityUser, id: 3a173a2b-c7d5-efa2-a1a7-ea8c589cbbff at Volo.Abp.Domain.Repositories.EntityFrameworkCore.EfCoreRepository3.GetAsync(TKey id, Boolean includeDetails, CancellationToken cancellationToken) at Castle.DynamicProxy.AsyncInterceptorBase.ProceedAsynchronous[TResult](IInvocation invocation, IInvocationProceedInfo proceedInfo) at Volo.Abp.Castle.DynamicProxy.CastleAbpMethodInvocationAdapterWithReturnValue1.ProceedAsync() at Volo.Abp.Uow.UnitOfWorkInterceptor.InterceptAsync(IAbpMethodInvocation invocation) at Volo.Abp.Castle.DynamicProxy.CastleAsyncAbpInterceptorAdapter1.InterceptAsync[TResult](IInvocation invocation, IInvocationProceedInfo proceedInfo, Func3 proceed) at Volo.Abp.Identity.Gdpr.IdentityGdprEventHandler.HandleEventAsync(GdprUserDataRequestedEto eventData) at Castle.DynamicProxy.AsyncInterceptorBase.ProceedAsynchronous(IInvocation invocation, IInvocationProceedInfo proceedInfo) at Volo.Abp.Castle.DynamicProxy.CastleAbpMethodInvocationAdapter.ProceedAsync() at Volo.Abp.Uow.UnitOfWorkInterceptor.InterceptAsync(IAbpMethodInvocation invocation) at Volo.Abp.Castle.DynamicProxy.CastleAsyncAbpInterceptorAdapter1.InterceptAsync(IInvocation invocation, IInvocationProceedInfo proceedInfo, Func3 proceed) at Volo.Abp.EventBus.EventHandlerInvoker.InvokeAsync(IEventHandler eventHandler, Object eventData, Type eventType) at Volo.Abp.EventBus.EventBusBase.TriggerHandlerAsync(IEventHandlerFactory asyncHandlerFactory, Type eventType, Object eventData, List1 exceptions, InboxConfig inboxConfig) at System.AbpExceptionExtensions.ReThrow(Exception exception) at Volo.Abp.EventBus.EventBusBase.ThrowOriginalExceptions(Type eventType, List1 exceptions) at Volo.Abp.EventBus.EventBusBase.TriggerHandlersAsync(Type eventType, Object eventData) at Volo.Abp.EventBus.Distributed.DistributedEventBusBase.TriggerHandlersDirectAsync(Type eventType, Object eventData) at Volo.Abp.EventBus.RabbitMq.RabbitMqDistributedEventBus.ProcessEventAsync(IModel channel, BasicDeliverEventArgs ea) at Volo.Abp.RabbitMQ.RabbitMqMessageConsumer.HandleIncomingMessageAsync(Object sender, BasicDeliverEventArgs basicDeliverEventArgs)

Hello i have these users in my database.

whenever i click prepare button for gdpr it throws an error on the background. It couldn't find the user in the database and since rabbitmq is the distributed message handler it always retries again and again. So it is full of errors repeating again maybe in the modules that participates for the event it is better to use try catch instead of throwing error. Is it possible to change that? and why the identity module can not find the id that's kind of weird. is it a bug?

here is the payload. i have the abp version 9.0 by the way. do you also use the same version?

also one more thing. Whenever i extend the organization units from module extension.

ConfigureIdentity(saas =>
            {
                saas.ConfigureOrganizationUnit(ou =>
                {
                    ou.AddOrUpdateProperty<int?>("ShareOfVoice", property =>
                    {
                        property.Attributes.Add(new RangeAttribute(0, 100));
                        property.UI.OnTable.IsVisible = true;
                        property.UI.OnCreateForm.IsVisible = true;
                        property.UI.OnEditForm.IsVisible = true;
                    });
                });
            });

RangeAttribute is not following the validation on the backend.

  • ABP Framework version: v9.0.x
  • UI Type: Angular
  • Database System: EF Core (PostgreSQL)
  • Tiered (for MVC) or Auth Server Separated (for Angular): yes

Hello, I want to add an extra property to organization units, i have managed to that in the backend with module extension. When i try to extend the angular side it does not seem i have an extension point there.

it seems like i can not extend the organization units when i look at this code.

export type IdentityCreateFormPropContributors = Partial<{
  [eIdentityComponents.Claims]: CreateFormPropContributorCallback<ClaimTypeDto>[];
  [eIdentityComponents.Roles]: CreateFormPropContributorCallback<IdentityRoleDto>[];
  [eIdentityComponents.Users]: CreateFormPropContributorCallback<IdentityUserDto>[];
}>;

here is what i have tried according to documentation https://abp.io/docs/latest/framework/ui/angular/dynamic-form-extensions#step-1-create-form-prop-contributors and here is my code. can you give some suggestions about how can i extend the organization units?


  import { ePropType, FormProp, FormPropList } from '@abp/ng.components/extensible';

import {  OrganizationUnitWithDetailsDto } from '@volo/abp.ng.identity/proxy';
import {
  eIdentityComponents,
  IdentityCreateFormPropContributors
} from '@volo/abp.ng.identity';

  

const shareOfVoiceProp = new FormProp<OrganizationUnitWithDetailsDto>({
    type: ePropType.Number,
    name: 'ShareOfVoice',
    displayName: '::DisplayName:ShareOfVoice'
  });
  
  export function shareOfVoicePropContributor(propList: FormPropList<OrganizationUnitWithDetailsDto>) {
    propList.addByIndex(shareOfVoiceProp, 1);
  }


  export const identityCreateFormPropContributors: IdentityCreateFormPropContributors = {
    // enum indicates the page to add contributors to
    [eIdentityComponents.OrganizationUnits]: [
      shareOfVoicePropContributor
      // You can add more contributors here
    ],
  };
  
  export const identityEditFormPropContributors = identityCreateFormPropContributors;
  // you may define different contributors for edit form if you like```
  • ABP Framework version: v9.1
  • UI Type: Angular
  • Database System: EF Core (PostgreSQL)
  • Tiered (for MVC) or Auth Server Separated (for Angular): no (but does not matter)

When you have a feature in 3 layers structure like

* Signage
    * Playlist
        * ShareOfVoice

in angular ui you can not see the branches in this order. it is always 2 layers. here is the sample code.

public class BookStoreFeatureDefinitionProvider : FeatureDefinitionProvider
{
    public override void Define(IFeatureDefinitionContext context)
    {
        var group = context.AddGroup(BookStoreFeatures.GroupName,
        L("Feature:BookStore"));


     

        var signageFeature = group.AddFeature(BookStoreFeatures.Signage.Default,
            "false",
            L("Feature:BookStoreSignage"),
            L("Feature:BookStoreSignageDescription"),
            new ToggleStringValueType());

        var playlistFeature = signageFeature.CreateChild(BookStoreFeatures.Signage.Playlist.Default,
            "false",
            L("Feature:BookStorePlaylist"),
            L("Feature:BookStorePlaylistDescription"),
            new ToggleStringValueType());
        var playlistShareOfVoiceFeature = playlistFeature.CreateChild(BookStoreFeatures.Signage.Playlist.ShareOfVoice,
            "false",
            L("Feature:BookStorePlaylistShareOfVoice"),
            L("Feature:BookStorePlaylistShareOfVoiceDescription"),
            new ToggleStringValueType());

    }
    private static LocalizableString L(string name)
    {
        return LocalizableString.Create<BookStoreResource>(name);
    }
}

here is the output for it.

ok thanks for the reply. Now i have figured it out by changing the source code and get more detailed exception. It was trying to use ipv6 while trying to connect to port 44389 according to error log.

at ClientRequest.<anonymous> (C:\dev\abp\npm\ng-packs\node_modules\got\dist\source\core\index.js:970:111)\n at Object.onceWrapper (node:events:639:26)\n at ClientRequest.emit (node:events:536:35)\n at origin.emit (C:\dev\abp\npm\ng-packs\node_modules\@szmarczak\http-timer\dist\source\index.js:43:20)\n at emitErrorEvent (node:_http_client:104:11)\n at TLSSocket.socketErrorListener (node:_http_client:512:5)\n at TLSSocket.emit (node:events:524:28)\n at emitErrorNT (node:internal/streams/destroy:170:8)\n at emitErrorCloseNT (node:internal/streams/destroy:129:3)\n at process.processTicksAndRejections (node:internal/process/task_queues:90:21)\n at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1615:16)","message":"connect ECONNREFUSED ::1:44389","name":"RequestError","code":"ECONNREFUSED","request":{"options":{},"timings":{}},"options":{},"timings":{}}

so i upgraded my nodejs to the latest version. probably sth was broken on my nodejs installation or the version had some bugs.it has been fixed now. Thank you for step by step instruction. I am closing this thread.

Hello again, I have sent you the email, but i don't think sth would come up from there. Probably it would work fine since it works on my macbook. Here i want to take a different approach. Can you just guide me how can i get the source code of @abp/ng.schematics package into my project and when i run the abp cli, instead of the regular package, i want to run the source code that i downloaded so i can log more about the problem. How can i do that? It would be great if you can give me step by step instructions about getting the source code to my project and running it. So i can modify it.

I didn't say it works for both machines. I say that for some of my microservice modules it works. But for my main app it does not. So we can eliminate the theory about the versioning cause it already works for another microservice.

And i still didn't understand how you are helping to solve the problem. i already know that i can uninstall with dotnet uninstall command. But aren't you caching anything in some folder (maybe in an .abp folder some files related with logging)? At least it is clear that you are saving log in information somewhere cause when i uninstall and reinstall it it doesn't ask me about it.

By the way the cli error clearly not giving any information about what the real error is. There is sth else in the background throwing the error. Not because it can not reach the URL.

How am i going to integrate the schematics package and how am i going to add custom loggers? And how does it work really When i install abp cli and run the command does it look at schematics package? Right now this problem is stalling my development. Please instead of giving abstract informations give me some directions so i can solve the problem.

Hello,

windows pc: yarn version: 1.22.22 node version is v22.12.0

mac yarn version: 1.22.22 node version 22.11.0

i don't think this is related with yarn or node versions cause i have 1 main app and 2 external modules (running standalone) in my angular app. So i serve 2 external modules from port 7038 and 44361 and if i try to generate the proxies for them. It works fine also from my windows pc. I couldn't get the answer about some of my questions how should i uninstall and clean everything related with cli from my windows machine? Where can i see the detailed logs about abp cli after i run the command? Where can i get the source code of abp cli?

and i am 100% sure that url is https://

Showing 11 to 20 of 168 entries
Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.8.0-preview. Updated on September 28, 2026, 11:44
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.