खुला हुआ बंद किया हुआ

Current User/Tenant is not set. #3278


User avatar
0
alirizaadiyahsi बनाया था
  • ABP Framework version: v5.3.0
  • UI type: Angular
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): Microservice

I have following two entities:

public class FunctionalPosition : FullAuditedAggregateRoot<Guid>, IMultiTenant and public class AccessRequest : FullAuditedEntity<Guid>, IMultiTenant

DomainService for FunctionalPosition

DomainService for AccessRequest

FunctionalPosition Table

AccessRequest Table

FunctionalPosition and AccessRequest are in the same microservice and DB, but there is wrong with AccessRequest to set user and tenant. Also I am checking by debugging both client and server has the current tenant/user information. Am I missing something?


2 उत्तर (ओं)
  • User Avatar
    0
    maliming बनाया था
    सहायता दल Fullstack Developer

    hi

    Is the TenantId property of your entity has the set method?

    public Guid? TenantId { get; private set; }

    https://github.com/abpframework/abp/pull/10490/files

  • User Avatar
    0
    alirizaadiyahsi बनाया था

    Hi @maliming another silly mistake :) I did not check after Rider created auto-generated code.

    Thanks.

Made with ❤️ on ABP v8.2.0-preview Updated on मार्च 25, 2024, 15:11