[Indexing] Exception thrown when adding product to Variants collection of another product

Fixed in

EPiServer.Find 13.2.0

Created

Aug 23, 2018

Updated

Jun 12, 2019

State

Closed, Fixed and tested


Description

Precondition:

  • Install Find Commerce to QuickSilver
  • Install package "EPiServer.QuickSilver.PersonalizedFind.Template" version="13.1.1" to have template of Find commerce
  • Run indexing job

Steps to reproduce

1. Go to CatalogUI.
2. Create a Product name Product1.
3. Edit variants of Product1: Add a published product to Variants of Product1.
4. Publish Product1.
5. Run the indexing job.

Expected:
Indexing job works fine

Observed:
An exception is throw while running the indexing job

Note: This issue only happens if you do install the package "EPiServer.QuickSilver.PersonalizedFind.Template"