November Happy Hour will be moved to Thursday December 5th.

GetReferencesToContent result is incorrectly cached

Fixed in

EPiServer.Commerce 13.31.0

(Or a related package)

Created

Jan 28, 2021

Updated

Jul 09, 2021

Area

Core

State

Closed, Fixed and tested


Description

GetReferencesToContent result is incorrectly cached.

Step to reproduce:

  1. Use IContentRepository.GetReferencesToContent to get content reference to an asset.
  2. Add the asset to, or remove it from some catalog content.
  3. Use IContentRepository.GetReferencesToContent again.

Expected:

Result list is updated.

Actual:

Result list is not updated.