Base solution for your next web application
Open Closed

TenantId zero after editing Entity created by RAD tool ? #4627


User avatar
0
geertveenstra created

Hi,

I created a new Entity (Customer) with the new RAD tool (mulitenant Core /Jquery) After editing the record it is not visible anymore. In the database the TenantId is set to 0.

I fixed it by removing the TenantId from the CreateOrEditCustomerDto and changing the CustomDtoMapper to this :

//configuration.CreateMap<Customer, CreateOrEditCustomerDto>(); configuration.CreateMap<CreateOrEditCustomerDto, Customer>().ReverseMap();

I am not sure if this is the correct way to fix (still learing) ?


1 Answer(s)
  • User Avatar
    0
    yekalkan created

    Thanks for the report. We've fixed it.