this exception is thrown if only the target user is not linked to you. and the -link check- is done here https://github.com/abpframework/abp/blob/dev/modules/identity/src/Volo.Abp.Identity.Domain/Volo/Abp/Identity/IdentityLinkUserManager.cs#L96
check that your user.id and target user.id exist in AbpLinkUsers
db table.
and did you implement the IMultiTenant
interface for your new entities.
https://docs.abp.io/en/abp/latest/Multi-Tenancy#imultitenant
you can use .AsNoTracking()
in your Queryable object.
as the main question is answered, closing the issue. reopen anytime if you have problem with the main question.
did you configure your Identity Server? Eg:
RootUrl
in appsettings.jsonIdentityServerClientPostLogoutRedirectUris
, IdentityServerClientRedirectUris
or any other tablesreplace all localhost
addresses in your settings!
IMustHaveOrganizationUnit interface is a very basic interface and the ASP.NET Boilerplate framework does not implement any logic with this interface. You can see the usages https://github.com/aspnetboilerplate/aspnetboilerplate/search?l=C#&q=IMustHaveOrganizationUnit
so you can create this interface in your project https://github.com/aspnetboilerplate/aspnetboilerplate/blob/dev/src/Abp.Zero.Common/Organizations/IMustHaveOrganizationUnit.cs
and write your own logic.
closing the question. you can reopen it if you'd like to add anything.
No that's not supported. Actually there's no way to create inheritance while creating a new entity in Suite. Because you enter all the properties and choose a base class from ABP base classes.
This is not related to the ABP Framework. ABP Framework uses other 3rd party libraries like EF Core. And there's no support for the 3rd party questions. you can ask it on the EF Core repository https://github.com/dotnet/efcore thanks for your understanding
@alexander from our tests, this is not related to the ABP Framework. we advise you to publish your project to a on-premise environment to make a real test without 3rd party cloud service.