Community
Participate
Working Groups
Currently there's some logic in CommitIntegrityCheck that compares CDOIDs by identity. This will usually work, but not always. Should use CDOIDUtil.equals instead.
[NoMagic note: SVR-3205]
Created attachment 198069 [details] Patch v1
Changing to 4.1 to ensure that the fix will "last". Please clone this bugzilla to 4.0 if you want a maintenance fix, too.
The patch looks okay. But I also still see code like this: if (currentContainerID != CDOID.NULL) It'd be safer to use CDOIDUtil.isNull(id) instead. Please feel free to chnage thos plcaes, too, before you commit to *trunk* !
Committed revision 8577 to trunk.
Resolving to FIXED.
Cloned as bug 351042
I can still see checks like "currentContainerID != CDOID.NULL" and from the context I can not see that currentContainerID!=null. Don't you think it's worth fixing that to "!CDOIDUtil.isNull(currentContainerID)"?
Closing.