We have an application that was on Kentico 12 MVC, which has been upgraded to K13.0.136 Recently.
Everything works fine except everywhere the Url.Action method was used to render the URL
Here's a sample example
@Url.Action(blog.NodeAlias, "Blog");
The above code is supposed to render the nodealias as the action name, and then blog as the controller
Expected URL outcomes: /blog/abc, or /blog/xyz
But Its generating
/kentico.pagebuilder/forms/company.sitename.landingpage.latestblogswidget/blog/abc
/kentico.pagebuilder/forms/company.sitename.landingpage.latestblogswidget/blog/xyz
It was working fine in K12 latest hotfix, this issue started appearing only after the upgrade
FYI, here's the route mapping for Blogs
routes.MapRoute(
name: "Blog",
url: "blog/{id}/{pageAlias}",
defaults: new { controller = "Blog", action = "Detail" }
);
I can see that this issue is happening in every place where Url.Action is used
Please help!