发新话题
打印

[已解决] 与CQ关联的CC活动deliver报错( 此文章被查看:399次,被回复:7篇!! )

本主题由 yunshan 于 2008-5-2 10:24 移动

与CQ关联的CC活动deliver报错

UCM方式、CC和CQ关联。
CQ单开始是正常的,但是修改完CQ单的当前状态之后,作deliver报错。

IDispatch error #14090
The entity's Named Hook "UCM_ChkBeforeDeliver" failed, the error message
is:
Failed condition: !IsInMap(name)
Location: ClearQuest Core:adsmallmap.cpp:107
name=liguoqiang
IDispatch error #18020
Failed condition: !IsInMap(name)
Location: ClearQuest Core:adsmallmap.cpp:107
name=liguoqiang
Unable to begin delivery, ClearQuest error.
Unexpected error in deliver.
Unable to perform ClearQuest policy check.
Unable to do integration.

查找发现UCM中的view一栏视图清空了,用setactivity命名将活动view重置,依然
不能提交。

请问,这是什么原因呢?应该怎么解决?谢谢


问题已经解决 [打开主题]
本主题的最佳答案为 [ 6 楼].



© 本文为 yingzi3608SCMLife 共同所有,未经同意,请勿转载 ©如该文侵犯了您的版权,请联系管理员

TOP

好像是在CQ中你们写了UCM_ChkBeforeDeliver,似乎是里面有语法错误



© 本文为 二黑SCMLife 共同所有,未经同意,请勿转载 ©如该文侵犯了您的版权,请联系管理员

TOP

应该不会是语法的错误吧,我们公司06年就开始用CC、CQ了,一直没有问题啊



© 本文为 yingzi3608SCMLife 共同所有,未经同意,请勿转载 ©如该文侵犯了您的版权,请联系管理员

TOP

应该是CC与CQ关联时设置的那个Policy出了问题,检查下设置的条件吧

© 本文为 bingan365 所有,未经同意,请勿转载
©如该文侵犯了您的版权,请联系管理员

TOP

好的,明天查一下再来报告结果

© 本文为 yingzi3608 所有,未经同意,请勿转载
©如该文侵犯了您的版权,请联系管理员

TOP

刚刚找到了答案,等明天试验一下再来汇报

The entity's Named Hook "UCM_CkBeforeDeliver" failed
  
Problem(Abstract)
This technote explains why attempts to post an IBM® Rational® ClearCase® UCM deliver from a Rational ClearQuest® enabled project that is replicated using MultiSite® results in the error The entity's Named Hook "UCM_CkBeforeDeliver" failed and provides instructions to resolve the issue.  
  


Symptom
When posting a UCM deliver from a ClearQuest enabled project that is replicated, the following error occurs:


Error posting a delivery for this stream.

Unexpected error in deliver.

IDispatch error #14090
The entity's Named Hook "UCM_CkBeforeDeliver" failed, the error message is:

There is no result from this process.

Invoking "Check Before ClearCase Delivery" policy for UCMUtilityActivity "ACTIVITYNAME" encountered an error.
Unable to begin delivery, ClearQuest error. Unexpected error in deliver.
Unable to perform ClearQuest policy check.
Unable to do integration.

  

Cause
By default the UCM_CkBeforeDeliver hook (part of the ClearQuest database schema) is executing a script which for a result, is returning an empty string. The script is a place holder for any custom script that has to be executed before delivery.

In case of an error, it is possible that the script cannot be executed, or the empty value is not recognized by the operating system as being valid.

  

Resolving the problem
If the default script has not been replaced by a custom script, at the mastering site, use the Rational ClearCase Project Explorer to open the project properties and disable the policy Perform ClearQuest Action Before Delivery.

Send synchronization packets from ClearCase and ClearQuest to the remote site and try to post the delivery again.


最佳答案
该回答被楼主/管理员列为正解!

© 本文为 yingzi3608 所有,未经同意,请勿转载
©如该文侵犯了您的版权,请联系管理员

TOP

在问以下,策略能随便改吗?改完后还可以在改回来吗?

© 本文为 yingzi3608 所有,未经同意,请勿转载
©如该文侵犯了您的版权,请联系管理员

TOP

上午试验过了,已经解决

© 本文为 yingzi3608 所有,未经同意,请勿转载
©如该文侵犯了您的版权,请联系管理员

TOP

发新话题