Don't miss out Virtual Happy Hour today (April 26).

Try our conversational search powered by Generative AI!

OnRelationsUpdated triggered for all products when updating only one relation

Found in

EPiServer.Commerce 11.1.0

Fixed in

EPiServer.Commerce 11.2.3

(Or a related package)

Created

Aug 23, 2017

Updated

Sep 15, 2017

Area

Core

State

Closed, Fixed and tested


Description

Step to reproduce

  1. Listen on CatalogEventHandler.OnRelationsUpdated.
  2. Drag and drop one catalog item into a category.

Expected: The event is fired once.
Actual: The event is fired multiple times, once for each relation in that category.

Reported from http://world.episerver.com/forum/developer-forum/Episerver-Commerce/Thread-Container/2017/6/edit-categories-event/