is it beta version?
use IMultitenant
when the entity is not being shared across the tenants.
The System.Text.Encodings.Web package is owned by Microsoft and used by the ABP Framework. See the reference github.com/abpframework/Volo.Abp.Core.csproj.
You can update it in your project to the latest version 5.0.1
Install-Package System.Text.Encodings.Web -Version 5.0.1
@maliming will help you on that.
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.