技术文章 - CS292752

在 Windchill PDMLink 中,无法删除 WTDocument 或 WTPart,并出现错误“此操作发生参照完整性违规”

已修改: 18-Jun-2025   


注意:本文已使用机器翻译软件翻译,以方便非英语客户阅读。但翻译内容可能包含语法错误或不准确之处。请注意, PTC对本文所含信息的翻译准确性及使用后果不承担任何责任。请在 此处 查看本文的英文原始版本以便参考。有关机器翻译的更多详情,请单击 此处
感谢您告诉我们。我们将尽快审阅此译文。

适用于

  • Windchill PDMLink 10.1 to 13.1

说明

  • 无法删除文档 (WTDocument) 或部件 (WTPart),错误为: Referential integrity violations occurred for this operation
  • WTDocument 错误:
    • 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)

这是文章 292752 的 PDF 版本,可能已过期。最新版本 CS292752