I am implementing a language switch in a .NET DD4T 2 website. In order to get the base URL for a website I am using the
DynamicMappingsRetriever.GetPublicationUrls(pubId) method. But the implementation of this method invokes itself, at least in
Tridion.ContentDelivery, Version=220.127.116.119, leading to a
StackOverflowException. This seems like a bug/untested Tridion code to me.
Anyone would know how to get the base URL of a website using the websites publication ID?