laptop and a wrench

Bogue

Synchronizing the one-way parent-to-child replica generates null values.

Dernière publication: June 11, 2021 ArcSDE/Enterprise Geodatabase
Numéro d’ID de bogue BUG-000137415
EnvoiFebruary 11, 2021
Dernière modificationJune 5, 2024
S’applique àArcSDE/Enterprise Geodatabase
Version trouvée10.7.1
Système d’exploitationWindows OS
Version du système d’exploitationN/A
StatutWill Not Be Addressed

Informations supplémentaires

The behavior comes down to a data modeling problem. The problem is there are "chained" relationships based on the same field being both foreign and primary keys. Although the geodatabase may allow certain edits to these types of relationships, geodatabase replication is more strict. Where there is a dangling foreign key, nullify it. One reason for this is to avoid the dangling records being inadvertently related to a different record if at a later point in time an original record is created with that key value. The recommendation is for "chained" relationships to be based on different key fields for each relationship class (do not have the same field used for all the relationships). If the relationships cannot be changed accordingly, then update the data to ensure values for all the related records in the chain before the sync. The particular feature class, in this case, had 7 relationships – 5 with origin keys and 2 with foreign keys (one foreign key based in the field being edited and the other was based on another field – the latter is the recommended way to establish these relationships).

Solution de contournement

Unregistering the relationship class (Strc_CFR_DSSPinsToCRPins) where DepProjNo is the foreign key from the replica resolves the issue.

Étapes pour reproduire

ID de bogue: BUG-000137415

Logiciel:

  • ArcSDE/Enterprise Geodatabase

Recevoir une notification lorsque le statut d’un bogue change

Télécharger l’application Esri Support

En savoir plus sur ce sujet

Obtenir de l’aide auprès des experts ArcGIS

Contacter le support technique

Télécharger l’application Esri Support

Accéder aux options de téléchargement