User relation is grey and unavailable

Hi.
I have a user property on customer entity, I think that since I have changed it from User to TenantUser it was unavailable anymore, you can see that the right side is not available. I also started to get an exception that the user is detached.

@OneToOne(fetch = FetchType.LAZY)
@JoinColumn(name = "USER_ID")
protected TenantUser user;

image

More over, in the view, the user looks like premitive member and not relational member:

image

Thanks

What is the cuba platform version?

I faced this issue in Cuba 7.0…
Not able to edit entity attribute properties if it is mapped with other entity.

Thanks
Shanur

Hi,
I’ve just tried to add a TenantUser property to the entity and everything works fine:

image

image

Try to delete the attribute from the entity in the IDE and then create it again in Studio.
If this will not help, try to reproduce your error in a new sample project and attach it here.