Attribute Validation Rules and Error Messages

Validation rules are enforced during development of the MBO and, in some cases, when you deploy the MBO to Unwired Server. Error/warning messages are generated when validation rules are violated.

Table 1. MBO attribute validation error messages
Severity and message Action
Error: Invalid attribute name: {0}.

Maximum attribute name length is 64.

Error: Duplicate attribute name: {0}.  
Warning: Attribute not mapped to column: {0}.  
Error: Data type of the column cannot map to the attribute: {0}.  
Warning: Attribute: {0} is used as a filter but not mapped to a relationship or a personalization key. If an attribute is a sync key field, an incoming sync relationship should be defined.
Warning: Attribute data length is shorter than the mapped column length, value truncation might occur: {0}.  
Warning: Attribute binary data length is shorter than the mapped column length, NULL will be returned: {0}  
Warnning: The default value of attribute ''{0}'' should not be set to ''{1}'' when both ''Filter by'' and ''Find by'' are set.  
Warning: Attribute data length is shorter than the mapped column length, value truncation might occur: {0}  


Created September 17, 2009. Send feedback on this help topic to Sybase Technical Publications: pubs@sybase.com