Perform multi scope feed export may use same host for Url:s in all scopes

Fixed in

EPiServer.Commerce 13.22.0

Created

May 25, 2020

Updated

Jul 22, 2020

State

Closed, Fixed and tested


Description

When running the feed export with multiple scopes the we try to combine IUrlResolver.GetUrl(…) path for a product with the host of the SiteDefinition of the scope currently being exported.

However, the return value for IUrlResolver.GetUrl can be absolute under certain circumstances and if so is the case the change of host in the Uri fails.