You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Display different product list for the different customer if they have different either UserGroups or CurrentPricelists
Actual behaviour
The customer sees the wrong product list from the caches.
Steps to reproduce
Create customer A and customer B with different either UserGroups or CurrentPricelists. Customize the catalogue to see a different set of the products on either UserGroups or CurrentPricelists.
Log in with customer A and open category page, see one set of the products
Log in with customer B and open category page, see the same (wrong) set of the products
…t was done for getting by ids. Thus we make properties caching distributed, and e.g. Prices would be updated when needed, as they are loaded independently.
…chProductsAsync (#269)
Moved Product properties out of cached Product for search, as it was done for getting by ids. Thus we make properties caching distributed, and e.g. Prices would be updated when needed, as they are loaded independently.
Version info:
Expected behaviour
Display different product list for the different customer if they have different either UserGroups or CurrentPricelists
Actual behaviour
The customer sees the wrong product list from the caches.
Steps to reproduce
https://github.com/VirtoCommerce/vc-storefront-core/blob/master/VirtoCommerce.Storefront/Domain/Catalog/CatalogService.cs#L204
https://github.com/VirtoCommerce/vc-storefront-core/blob/master/VirtoCommerce.Storefront/Domain/Catalog/CatalogConverter.cs#L161
https://github.com/VirtoCommerce/vc-storefront-core/blob/master/VirtoCommerce.Storefront/Domain/Catalog/CatalogConverter.cs#L163
Note: I think we should remove workContext from Converters or be careful with cacheKey
Note: Same problem can occur for other cacheKey. Need to review
The text was updated successfully, but these errors were encountered: