There is no API to set IsPrimary for NodeEntryRelation

Found in

EPiServer.Commerce 11.0.0

Fixed in

EPiServer.Commerce 11.2.0

Created

Jul 27 2017

Updated

Aug 29 2017

Area

Core

State

Closed, Fixed and tested


Description

IsPrimary can only be set via import, or via moving through Catalog UI if it already has a primary node. In case customer uses IRelationsRepository directly to manipulate the relations, there would be no way to set a category is the primary one, and then breaks the ParentLink property.