Article - CS292752

Failed to delete the document with error 'Referential integrity violations occurred for this operation' in Windchill PDMLink

Modified: 12-Sep-2018   


Applies To

  • Windchill PDMLink 10.1 to 11.0

Description

  • Failed to delete the document with error 'Referential integrity violations occurred for this operation'
  • Error :
ERROR [ajp-nio-127.0.0.1-8012-exec-11] com.ptc.core.task.Task UUU- Task.execute :: (wt.fc.fcResource/46) wt.fc.ReferentialIntegrityException: Referential integrity violations occurred for this operation:
Cannot delete "YYY," that is used by the following versions : ZZZ, 00.5, ZZZ, 00.6
Object "Document Usage - wt.doc.WTDocumentUsageLink:aaa" references the object "wt.doc.WTDocumentMaster:bbb" that was removed from the system.
(wt.fc.fcResource/46) wt.fc.ReferentialIntegrityException: Referential integrity violations occurred for this operation:
Cannot delete "YYY" that is used by the following versions : ZZZ, 00.5, ZZZ, 00.6
Object "Document Usage - wt.doc.WTDocumentUsageLink:aaa" references the object "wt.doc.WTDocumentMaster:bbb" that was removed from the system.
    at wt.fc.StandardPersistenceManager$ReferentialIntegrityValidator.beforeCompletion(StandardPersistenceManager.java:3406)
This is a PDF version of Article CS292752 and may be out of date. For the latest version click https://www.ptc.com/en/support/article/CS292752