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.
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 Johan,
Did you manage to overcome or arrive at a solution when OriginalObjectGetter is null. I am trying to do similar thing to get web content from search, but fails because my OriginalObjectGetter is null.
Thanks,
Rams
Hi Johan and Ram,
Did you find a solution to this? My method looks like this today:
public static T GetOriginalObject<T>(this UnifiedSearchHit hit)
{
if (hit.OriginalObjectGetter != null)
{
var original = hit.OriginalObjectGetter.Invoke();
if (original is T)
{
return (T)original;
}
}
return default(T);
}
Thanks
Hi,
OriginalObjectGetter is missing for WebContent. Is this by-design? This means we can't do following: