SiteDefinition.Current is not set in IndexingJobService

Found in

EPiServer.Find 13.2.1

Fixed in

EPiServer.Find 13.2.10

Created

Aug 14, 2019

Updated

Oct 23, 2020

State

Closed, Fixed and tested


Description

Error in EPiServer.Find.Cms.IndexingJobService.Start(Action<string> statusNotification).

Details
SiteDefinition.Current was set to the site definition that was being indexed during Find indexing job in 13.0.5 and earlier versions. Setting SiteDefinition.Current is missing in 13.2.1, and should be added again.