November Happy Hour will be moved to Thursday December 5th.
AI OnAI Off
November Happy Hour will be moved to Thursday December 5th.
Finding this following the source:
EPiServer.Validation.DataAnnotationsValidator<T>:
protected virtual string GetDisplayName(PropertyDescriptor propertyDescriptor, object instance)
{
string resourceKey = propertyDescriptor.Attributes.OfType<DisplayAttribute>().FirstOrDefault()?.Name ?? propertyDescriptor.DisplayName;
return _localizationService.GetString(resourceKey, _localizationService.FallbackBehavior | FallbackBehaviors.Echo);
}
Is this what is returning null?
Hi
Validation of pages in UI will sometimes start failing, not matter which , usually after some uptime. Commonly detected when modifiing settings on the pages we use for global settings.
Sometimes it goes away when restarting the webbserver instance, sometimes not.
The script gets a 500 error.
This is what happens in the log:
........
Cannot replicate the issue in development, so it's a pain trying the find the real cause.
It looks like Episerver suddenly looses its ability to get the displayname from properties.
None of the properties on eg the settings page have any name specified, could it be a localization issue?