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.
We are doing the following on version 8.8.0 site and it is working.
public static IEnumerable FindAll()
{
var store = typeof(T).GetStore();
return store.Items();
}
However, when we attempt the below on version 9.12.0, I am getting a NullReference exception when I call items.ToList(). The strange thing is if I do items.Count(), it actually returns the 3 items saved in the store.
public static IEnumerable GetItems()
{
var store = typeof(CalHIINCommitmentAgreement).GetStore();
var items = store.Items();
if (items != null)
return items.ToList();
return new List();
}