Base solution for your next web application
Ends in:
01 DAYS
01 HRS
01 MIN
01 SEC
Open Closed

Cache interfere bug report between tenants for DynamicPropertyManager #10391


User avatar
0
arctechnicalteamaus created

Issue related with ABP Framework

  • What is ABP Framework version? 6.3

In the Abp.DynamicEntityProperties.DynamicPropertyManager class, the cache is defined as:

private ITypedCache<int, DynamicProperty> DynamicPropertyCache => _cacheManager.GetCache<int, DynamicProperty>(CacheName);

TypedCache is not tenant safe. We use a multi-tenant configuration. When we get the DynamicProperty by Id, the cache returns the DynamicProperty with that Id, from a different tenant.

The same bug occurs for DynamicEntityPropertyManager class too.

Suggest to review all ITypedCache usage.


1 Answer(s)
  • User Avatar
    0
    musa.demir created

    Hi @arc

    Thanks for the reporting. We will fix it in next release. You can follow the progress here https://github.com/aspnetzero/aspnet-zero-core/issues/3953