Virtual Happy Hour is canceled this month (March) due to Good Friday.
Try our conversational search powered by Generative AI!
AI OnAI Off
Virtual Happy Hour is canceled this month (March) due to Good Friday.
Recently I found out about a very nasty issue inside the commerce framework.
We noticed that on our product detail page, the multi language switch didn't work and showed errors about pages not being found.
The url path looked strange so I took a look with Reflector and had to dig deep to find out about this nasty bugger:
Inside the ProductUrlRewriteModule there was this method UrlRewriteProvider_ConvertingToExternal that contained the following check:
if (e.Url.Path.EndsWith(this._productViewTemplateName, StringComparison.OrdinalIgnoreCase))
I noticed that the original demo site passed this check, but our code didn't.
And then I saw what lay behind the productViewTemplateName property: