Troubleshooting
Problem
[Simplified Chinese] 当您试图从任何ClearQuest客户端修改或者使用ClearQuest API调用后引用字段的时候,可能会出现错误。(英文错误信息原文)"The field "Parent" cannot be modified because it is a back reference field."
Symptom
当您试图修改后引用字段,您可能会看到如下错误:
(英文错误信息原文)
The field "Parent" cannot be modified because it is a back reference field. This field is automatically updated when this entity is added or removed from the "Child" field of a "Defect" entity.
Cause
到ClearQuest 7.0.1.11,7.1.1.4 和 7.1.2.1,ClearQuest不再支持您修改后引用字段,因为这可能会引起数据库的崩溃。
这种情况可能发生在挂钩直接试图修改后引用字段,或者当视图列表控件直接添附到具有新建,增加或者删除按钮的后引用字段。到ClearQuest 8.0.0.09 和 8.0.1.02版本为止,由于后引用字段被设为只读,您不能从用户交互界面或者API来修改它(从非Hook文本)。
当以拖拉和释放的方式将后引用字段添加到表单时,这个错误将不会出现。
以下是一个错误信息的示例,也许您在试图修改后引用字段时会出现:
(英文错误信息原文)
The field "Parent" cannot be modified because it is a back reference field. This field is automatically updated when this entity is added or removed from the "Child" field of a "Defect" entity.
这个错误是因为在修复APAR PM22186 的时候对源代码做了修改,当删除后引用字段时,ClearQuest 内核应该能探测到,并且抛出错误或者停止作业。
Resolving The Problem
您可以有选择性的启动允许修改后引用字段的功能,以作为短期的解决方法,直到您修改您的scheme并不在需要修改后引用字段。
请您联系IBM软件支持来指导您如何实现该功能。
Related Information
Was this topic helpful?
Document Information
Modified date:
16 June 2018
UID
swg21497782