Is there an event that fires after editing category relations for a product/variant? The SavedContent event handler doesn't fire after editing caetgories.
For catalog content, please take a look at CatalogEventHandler. More specificly in your case, it might be RelationsUpdated event that you're looking for.
I will take a look. Thanks!
We used the CatalogEventHandler to detect relation changes and it worked well in the version 10.5.1.0.
After upgrading to 22.214.171.124, that event (OnRelationsUpdated) is triggered for all the products of a category when we are actually updating only one relation (https://www.screencast.com/t/mq1MB5r4N all products directly linked to "Fat Bike" category would get updated when we link that category to a new product in this scenario). Did something changed in the last version regarding events rising ? I tried to search through the release notes but couldn't find anything useful.
Any help would be much appreciated. Thanks!
It could have something to do with maintaining sort order within the category (e.g sort order of all products are updated to make room for the new one). But it doesn't sound like the desired behavior. I'll make sure a bug gets reported and we'll investigate.
Magnus Rahl, is it possible to post here the bug tracking number please, so I can follow any changes on this area?
It's not yet publicly visible, as we need to clean up things before making it public.
EDIT: I just edited the bug. Should be visible in 1 hour or so