Activities of "cangunaydin"

Hello ok, I will try it on a different environment. But what can be different on different environment it does not make sense. So weird i will let you know when i try it.

Hello Engincan, It is weird that it does not throw an error for you. From the image i have seen you do not impersonate yourself as one of the tenants admin user. Did you try with the impersonation? I believe error is related with unitofwork. According to error it can not find the entity, i believe it is related with tenantid is null while you are trying to get the value. But of course i am not so sure. I am getting the error when the docker image is running. I was thinking if it is sth related with my environment. I deleted also the volume of rabbitmq with the image and spin it up again, it is behaving the same. I am trying this on my mac, i can try it on windows machine and let you know but i don't think it is going to change. Can you confirm that you tested and requested the gdpr data with an impersonation with one of tenant's users?

Hello EngincanV, It is little weird that it does not behave the same. I use docker images for rabbitmq, postgresql and redis cache. I have shared the solution and sent an email with the link so that you can download the sample project.

Hello EngincanV, Is there any progress on this one? I think the bot closed the thread again.

Hello Engincan, I managed to produce the problem from a new empty template, i can send you the project if you want also. i will try to give the instructions step by step.

  1. First create a new project with this command
abp new Acme.BookStore -u angular --tiered -dbms PostgreSQL -csf --version 9.0.2

it doesn't have to be postgresql but i tried with this that's why. 2) Then change the connection strings and migrate database. 3) Add this to appsettings.json of HttpApi.Host project

  "RabbitMQ": {
    "Connections": {
      "Default": {
        "HostName": "localhost",
        "Port": "5672"
      }
    },
    "EventBus": {
      "ClientName": "BookStore",
      "ExchangeName": "BookStore"
    }
  }
  1. Add this to appsettings.json to AuthServer project
  "RabbitMQ": {
    "Connections": {
      "Default": {
        "HostName": "localhost",
        "Port": "5672"
      }
    },
    "EventBus": {
      "ClientName": "AuthServer",
      "ExchangeName": "BookStore"
    }
  },
  1. Configure both projects (AuthServer and HttpApi.Host) to use Distributed Event Bus with RabbitMq.

run both projects.

  1. Create a tenant and impersonate with that tenant. Then try to request gdpr data with that user.

now you should see the error in your console.

ps: you should use the package

<PackageReference Include="Volo.Abp.EventBus.RabbitMQ" Version="9.1.0" />

Ok I will try to do it on an empty template I couldn’t find the time yet can you give little bit more time and keep this open.

Is there a way that I can fix it in my version ? Can you give step by step instructions

okay i think i have found the problem but i need a solution for my case. this error happens because i removed JsonSerializer Converters that is type of ObjectToInferredTypesConverter to use IAsyncEnumerable from my controllers.

 private void ConfigureJsonSerializerForAsyncEnumarable(ServiceConfigurationContext context, IConfiguration configuration)
    {
        context.Services.Configure<JsonOptions>(options =>
        {
            options.JsonSerializerOptions.Converters.RemoveAll(x => x.GetType() == typeof(ObjectToInferredTypesConverter));
        });
    }

i need to keep this code since i need to serialize json responses asynchronously from my controller. But this is effecting the validations in extra properties.

Is there any other way that i can have both of the worlds.

nope it is not.

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

Showing 1 to 10 of 126 entries
Learn More, Pay Less
33% OFF
All Trainings!
Get Your Deal
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.0.0-preview. Updated on September 10, 2025, 06:30