Try our conversational search powered by Generative AI!

Inventory events fired before cache updated

Found in

EPiServer.Commerce 12.4.0

Fixed in

EPiServer.Commerce 12.8.0

(Or a related package)

Created

Aug 24, 2018

Updated

Aug 31, 2018

State

Closed, Fixed and tested


Description

Although the data in database is updated, the code inside the listener still loads old data.

Steps to reproduce

  1. Follow this documentation https://world.episerver.com/documentation/developer-guides/commerce/events/inventory-events/ to listen to Inventory updated events.
  2. Update the available quantity for a variant in Catalog UI.
  3. Fetch data fetch from inside the listener. It is still old quantity.