Community
Participate
Working Groups
If a CommitIntegrityCheck (i.e. the check for partial commits) encounters an object that references a TRANSIENT object, an NPE follows because it fails to take into account that a TRANSIENT object returns null from cdoID(). The fix is not to detect the dangling reference, but to silently ignore it, because for detection of dangling references we have other logic: AbstractCDOView.provideCDOID(*) on the client side, and the stuff controlled with IRepository.Props.ENSURE_REFERENTIAL_INTEGRITY on the server side.
Created attachment 186067 [details] Testcases (as a patch)
Created attachment 186068 [details] Patch including testcases
Created attachment 186085 [details] Patch v2 - ready to be committed I've moved the integrity check class to internal
Committed to HEAD
Available in R20110608-1407