Relationship Validation Rules and Error Messages

Validation rules are enforced when mapping arguments and, in some cases, when you deploy the MBO to Unwired Server. Error or warning messages are generated when validation rules are violated.

Table 1. MBO relationship validation rules and error messages
Validation rule name Severity and message
ValidationRelationshipLoop Relationship loop is not allowed.
ValidationRelationshipSelfTarget Relationship '{0}' target cannot be Source MobileObject.
ValidationRelationshipTargetObjectNotFile The target object in Relationship '{0}' cannot be File object.
ValidationRuleAssociationsIfGridBlob Mobile business object '{0}' cannot be the source of a relationship because it has a file data source.
ValidationRuleAssociationsIfGridEmpty Mobile business object '{0}' cannot be the source of a relationship because its data source is empty.
ValidationRuleAssociationMobileObjectExists Relationship '{0}' must have a target mobile business object.
ValidationRuleAssociationMobileObjectExists2 Relationship '{0}' must have a source mobile business object.
ValidationRuleAssociationToGridOnly Relationship '{0}''s target mobile business object must have a non-empty, non-file data source.
ValidationRuleLinkTargetUniqueAttribute Relationship '{0}': The attribute '{1}' occurs as a target more than once.
ValidationRuleLinkTargetUniqueParameter Relationship '{0}': The parameter '{1}' occurs as a target more than once.
ValidateRelationshipName Refer to "Miscellaneous Validation Rules and Error Messages."
ValidationRuleLinkSourceParameterOrAttribute0 Relationship '{0}' contains a join that has no sources.
ValidationRuleLinkSourceParameterOrAttribute2 Relationship '{0}' contains a join that has both a parameter source and an attribute source.
ValidationRuleParameterSyncNoPersonalizationOnlyIfAssociationSyncTarget Relationship '{0}'s target mobile business object, '{1}', has a parameter, '{2}', that does not have a personalization key and is not a target of a join. This is allowed only if there is a target attribute in this relationship that is not marked as Filter By.
ValidationRuleAttributeSyncNoPersonalizationOnlyIfAssociationSyncTarget Relationship '{0}'s target mobile business object, '{1}', has an attribute, '{2}', that is marked as Filter By and is not a target of a join. This is allowed only if there is a target attribute in this relationship that is not marked as Filter By.


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