We are encountering the following error when adding team members to an investment:
Cannot insert duplicate key row in object 'niku.ODF_AUD_OBJ_INST_CONTEXT' with unique index 'ODF_AUD_OBJ_INST_CONTEXT_N1'. The duplicate key value is (team, 8990011)
The app-ca.log states the following:
ERROR 2025-04-01 14:12:25,323 [https-openssl-nio2-443-exec-5] audit.ObjectAuditService (clarity:myuser:mysession:odf.saveAuditedAttributesListAndExit) (mycookie) Exception building triggers
com.niku.union.persistence.PersistenceException:
SQL error code: 2714
Error message: There is already an object named 'TT_TEAM_PPRTEAM' in the database.
Clarity 16.1.3
This is caused by duplicate triggers
In order to resolve this will need to drop the affected trigger(s):