To assure that all interlinkages within a database are set correctly, databases should be validated regularly (right-click on a database and select validate). A validation identifies whether all linkages within a database are working.
If a validation fails, fix missing interlinkages before performing a commit. If you’re unable to validate your database it is probably better to discard your changes, fetch the repository again and to redo changes. A user may fail to validate a database because corrupt datasets were fetched from the repository that have been committed by other users.