Closed robertjf closed 6 years ago
The following line (https://github.com/umco/umbraco-vorto/blob/master/src/Our.Umbraco.Vorto/Extensions/IPublishedContentExtensions.cs#L96) leads to a NullReferenceException when attempting to extract Vorto values while padding search indexes because the UmbracoContext is not initialised:
var inPreviewMode = UmbracoContext.Current.InPreviewMode;
This is on Umbraco 7.6.1, not sure about earlier versions (but I suspect the same issue)
PR Merged
The following line (https://github.com/umco/umbraco-vorto/blob/master/src/Our.Umbraco.Vorto/Extensions/IPublishedContentExtensions.cs#L96) leads to a NullReferenceException when attempting to extract Vorto values while padding search indexes because the UmbracoContext is not initialised:
This is on Umbraco 7.6.1, not sure about earlier versions (but I suspect the same issue)