search
AI OnAI Off
A critical vulnerability was discovered in React Server Components (Next.js). Our systems remain protected but we advise to update packages to newest version. Learn More.
Hi Patrick,
You have probably solved your problem by now, if you havent, try adding this:
ControllerContext.RequestContext.RouteData.DataTokens[RoutingConstants.NodeKey] = errorPage.ContentLink;
Regards,
Robert
I totally forgot to post that solution! But yeah, that solved it.
Thanks,
Patrick
Hi all,
I'm trying to implement a localizable errorpage using the tutorial of Karoline Klever, and this seems to be working okay-ish. For some reason, however, I am getting back null when I try to use the function public static ContentReference GetContentLink(this RequestContext reqContext) from EPiServer.Web.Routing.RequestContextExtension. This means the whole site still fails to render.
As said in the linked tutorial, I did set
But that doesn't seem to be enough for EPiServer 7.5 (we're using EPiServer 7.6.3). What else do I need to do to make this work properly?
Regards,
PatrickBregman