Validation rules are enforced during development of the MBO and, in some cases, when you deploy the MBO to Unwired Server. Error or warning messages are generated when validation rules are violated.
Validation rule name | Severity and message |
---|---|
ValidateRuleParameterColumnMaxLength | Parameter '{0}' has a maximum data length, {1}, that is less than the backend maximum data length, {2}. |
ValidateRuleParameterFromAttributeHasNoPK | Parameter '{0}', which is from a 'Find by' attribute, must not use a personalization key. |
ValidateRuleParameterOldValueArgumentOptionalValues | Argument '{0}' in Parameter '{1}' is already used by Parameter '{2}' |
ValidateRuleTableOrStructParameterWithFromAttribute | Parameter '{0}' cannot be mapped from an attribute because it is a table/struct parameter. |
ValidationDuplicatedParameterName | Parameter '{0}' has the same name as {1} other parameter(s). |
ValidationDuplicatedParameterNameAttribute | Parameter '{0}' has the same name as an attribute that has its 'Filter By' property set to true. |
ValidationDuplicatedParameterNameAttributes | Parameter '{0}' has the same name as '{1}' attributes that have their 'Filter By' property set to true. |
ValidationInvalidParameterName | Parameter '{0}' has an invalid name. The name must match the pattern: [A-Za-z_][A-Za-z0-9_]*((\[\])?\.[A-Za-z_][A-Za-z0-9_]*)? |
ValidationParameterDataLengthPositiveInteger | Parameter '{0}''s data length '{1}' is not a positive integer. It must be greater than zero. |
ValidationParameterDefaultValueLength | Parameter '{0}' has a default value, '{1}', that is longer than the maximum length, {2}. |
ValidationParameterMaxLengthPositiveNonZeroInteger | Parameter '{0}''s length, {1}, is too small. It must be greater than zero. |
ValidationParameterMaxLengthPositiveNonZeroInteger2 | Parameter '{0}''s length, {1}, is too large. It must be less than 32768. |
ValidationParameterMaxLengthPositiveNonZeroInteger3 | Parameter '{0}''s length, {1}, is too large. It must be less than or equal to 65536. |
ValidationParameterMaxLengthSameAsAttributeIfOperationParameter | Parameter '{0}' has a different maximum data length, {1}, than the maximum data length of the attribute it is mapped to, {2}. |
ValidationParameterMaxLengthSameAsAttributeIfUsageSync | Parameter '{0}' has a different maximum data length, {1}, than the maximum data length of the attribute it is mapped to, {2}. |
ValidationParameterPrecisionPositiveNonZeroInteger | Parameter '{0}''s precision, {1}, is too small. It must be greater than zero. |
ValidationParameterPrecisionPositiveNonZeroInteger2 | Parameter '{0}''s precision, {1}, is too large. It must be less than or equal to 127. |
ValidationParameterScalePositiveNonZeroInteger | Parameter '{0}''s scale, {1}, is too small. It must be greater than zero. |
ValidationParameterScalePositiveNonZeroInteger2 | Parameter '{0}''s scale, {1}, is too large. It must be less than or equal to the precision, {2}. |
ValidationRuleParameterBinaryTypeWithFilterBy | Parameter '{0}' cannot be marked as syncable because it is Binary type. |
ValidationRuleParameterDefaultValueIffSync | Parameter '{0}' cannot have a default value, because it is not marked as Filter By.Parameter '{0}' cannot have a default value, because it is not marked as Filter By. |
ValidationRuleParameterDefaultValueIffSync2 | Parameter '{0}' must have a default value, because it is marked as Filter By and its type is not 'String'. |
ValidationRuleParameterFromAttributeIffKindSearch | Parameter '{0}', not being updateable, must be mapped to an attribute. |
ValidationRuleParameterMapNull | Parameter '{0}' must map to attribute, argument or personalization key. |
ValidationRuleParameterOldValueArgumentIfKindUpdate | Parameter '{0}', being mapped to an old value argument, must be marked as Updateable. |
ValidationRuleParameterOldValueArgumentTypeSame | Old value argument '{0}' must have the same type as argument '{1}' in parameter '{2}'. |
ValidationRuleParameterToArgumentIffPlayback2 | Parameter '{0}', being updateable, must be mapped to an argument. |
ValidationRuleParameterTypeIsArgumentType | Parameter '{0}' must have the suitable type as the argument it is mapped to. |
ValidationRuleParameterTypeIsArgumentType | Parameter '{0}' must have the same type as the attribute that it is mapped from. |
ValidationRuleParameterTypeIsFromAttributeType | Parameter '{0}' must have the same type as the attribute that it is mapped from. |
ValidationRuleParameterUniqueForArgument | Parameter '{0}' is mapped to an argument that another parameter is also mapped to. |
ValidationRuleNoOperationParametersCanBeFilterBy | Parameter '{0}' is marked as Filter By, operation parameters must not be marked as Filter By. |
ValidationRuleOfParameterAboutFilterByOfMappedParameterMustBeTrue | Parameter '{0} is a target role in one relationship, it must be marked as FilterBy. |
ValidationRuleMBOParameterShouldNotBeBinaryType | Parameter '{0}' must not be binary type. |