由一台
ClearQuest 2002的
server export出
schema "cq"
import到另一台ClearQuest2003的Server的时候报错如下:
Unable to import schema “CQTGMS” revision 28. The following validation errors were encountered: EntityDef “SAR”, FieldDef “Severity”: the field has a hook defined which Calculates the field’s requiredness, but no state’s statusDef’s requiredness will evercause the hook to run
根据查找的方法如帖“
http://bbs.scmlife.com/viewthread.php?tid=2382”修改了以下内容:
由于我的schema中entity比较多,所以我只是需要更改了
提示中的entity SAR.
经过查找,对应的ADD状态多数为OPTIONAL,只是Assigned和Cancelled是MANDATORY
照常理说,应该是没有问题的,为了统一将Assigned 和Cancelled改为OPTIONAL
结果报错结果一样,恢复原
文件后按照帖子内容更改如下,只是在submitted的状态下将OPTIONAL改成了USER_HOOk,其它未变,因为只是想在submit的时候去执行HOOK,其他状态是不需要的;
ADD field_status_def ( "SAR", "Submitted", "Severity", USER_HOOK )
结果报错为:Unable to import schema "CQTGMS" revision 1. The following validation errors were encountered: EntityDef "SAR", FieldDef "Severity": the statusdef indicates an invalid requiredenss valus of 0.
请大家
帮忙看看,由于比较急需要马上
解决,在线等!先谢谢了!