Language segment ignored when routing to nodes with conflicting names in CMS and Catalog

Fixed in

EPiServer.CMS.Core 11.1.0

Created

Aug 24, 2017

Updated

Feb 06, 2018

Area

CMS Core

State

Closed, Fixed and tested


Description

A customer have reported having issues with naming conflicts when routing to commerce content having the same name as cms content in second language.

Steps to reproduce:

  1. Create one catalog node in swedish and english having names "cars", "automobiles".
  2. Create a CMS page in english with the name "cars".
  3. Use the UrlResolver.Route("~/sv/cars")

Expected:

  • The route should return the commerce node content for swedish.

Actual:

  • The english version of the cms page content is returned (equivalent to ~/en/cars").