UrlResolver.GetUrl returns incorrect Url for commerce content versions
Jan 23 2019
Feb 15 2019
Closed, Fixed and tested
Steps to reproduce
- Use Quicksilver.
- Change "Name in URL" (RouteSegment) for Fashion Node and publish so you have a minimum of two content versions with different "Name in URL" (RouteSegment).
- See code file StartController.cs to replace the existing Index function. (Retrieve all content versions of Fashion Node and use EPiServer.Web.Routing.UrlResolver.GetUrl on each.)
- In VS, set a breakpoint and debug to break point.
Two different fashion node urls returned by GetUr()like:
Same fashion node url returned by GetUrl():