Data Loss Prevention (DLP) upgrade fails during the Data Migration task. The migration SQL script fails when attempting to merge built-in applications into the Application table.
The following error appears in the upgrade logs: ERROR : ORA-00001: unique constraint (PROTECT.SYS_C007694) violated
The errant statement involves a MERGE INTO Application command attempting to insert or update an application (such as iCloud (Mac) or fileproviderd) where the IDENTIFIER already exists in the database but is marked as deleted.
DLP environment that has been upgraded from a prior release .
This issue occurs when a previous upgrade or administrative action added a built-in application to the database that was subsequently deleted (ISDELETED = 1). and then later merged due to the application becoming a built-in application as part of a new feature
The upgrade migration script attempts to insert the application as a new record because it only searches for active records (ISDELETED = 0). Because the IDENTIFIER (e.g., -189) must be unique, the insertion fails with a unique constraint violation.
Identify built-in applications mistakenly marked as deleted before proceeding with the upgrade.