Vulnerability in EPiServer.Forms

Try our conversational search powered by Generative AI!

GetReferencesToContent result is incorrectly cached

Fixed in

EPiServer.Commerce 13.31.0

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.