-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Low
-
Affects Version/s: 3.5
-
Component/s: None
-
Environment:
DB2
DB2 does not allow unique constraints on columns that allow nulls. This means that code that currently relies on ConstraintViolationExceptions preventing duplicates being added to cwd_membership won't work, since the exception will never be thrown. We need to fix the code to ensure that we never try to add duplicate memberships to the DB, or that we can recover gracefully from this happening in all cases.