Error 21121

Message

Possible error messages:

Without Resource Bundle (default)
  • Posible error messages
  • The {ENTITY_NAME} [{PRIMARY_KEY}] can not submitPending as composite operation from its parent entity, because non-default operation has been invoked on it.
  • The entity {ENTITY_NAME} {PRIMARY_KEY} cannot be submitted as composite operation from its parent entity, because non-default operation has been invoked on it.
With Resource Bundle
  • The {ENTITY_NAME} [{PRIMARY_KEY}] can not submitPending as composite operation from its parent entity, because non-default operation has been invoked on it.
Domain Persistence.PersistenceException
Number 21121
Label NON_DEFAULT_OPERATION_INVOKED
Applicable Platform(s) iOS, Android

Cause

When calling parent.submitPending in a parent/child cascade relationship, the child MBO's non-default create/update/delete (CUD) operation has already been invoked but not processed by server yet.

Action

Do not call the parent's submitPending when the children's non-CUD operation has been called but not synchronized.