Try our conversational search powered by Generative AI!
AI OnAI Off
May 22, 2017
Jun 02, 2017
Core
Closed, Fixed and tested
When a value set to a metafield which does not match the type of the metafield itself, there will be this error message:
System.ArgumentException: value is a System.Double but should be a System.Int32
Parameter name: value
at Mediachase.MetaDataPlus.Configurator.MetaDataTypes.GetDatabaseValueInteger(Object value)
This is confusing and is not helpful to resolve the problem. Suggested error message is:
"Value of <metafieldname> is 4.5, of type double, but should be an int"