We need to check product name (version) in order to determine if a feature is supported or a bug in the platform was fixed. On some systems/customer this check doesn’t work. In the code below ProductName is sometimes null. Why is that? Could it be related to the license somehow? What to do?
Item server = Configuration.Instance.GetItemsByKind(Kind.Server).FirstOrDefault();
var state = server.Properties.FirstOrDefault(p => p.Key == "ProductName");
if (state.Value == null)
{
Log.Error("ProductName is null");
}