51Testing软件测试论坛

 找回密码
 (注-册)加入51Testing

QQ登录

只需一步,快速开始

微信登录,快人一步

手机号码,快捷登录

查看: 2087|回复: 3
打印 上一主题 下一主题

[原创] QC已有内容的项目与SVN集成的问题

[复制链接]

该用户从未签到

跳转到指定楼层
1#
发表于 2012-1-5 11:04:43 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
本帖最后由 lilinuo_2011 于 2012-1-5 11:10 编辑

对一个QC9.0中已经完成测试的项目,想把其中的内容集成到svn中,在QC9.0中对该项目启动版本控制,发现会报出如下的错误:

Messages:
Failed to Do VCSAction;
Failed to perform VCS Action;

Stack Trace:
com.mercury.td.vc_plugin.vcutil.CVcException: Plugin failed to delete vc project.
You don't have rights to Add Element
at CTdJavaPlugIn.addElement(CTdJavaPlugIn.java:454)
at com.mercury.td.vc_plugin.PluginExtTo2Adapter.addElement(PluginExtTo2Adapter.java:44)
at com.mercury.td.tdserver.api.logics.vc.VcToolConnector.addElement(VcToolConnector.java:396)
at com.mercury.td.tdserver.api.logics.vc.CAbsVcLogic.addToVc(CAbsVcLogic.java:618)
        wrapped in com.mercury.optane.core.CTdException: Failed to add element to version control data base...
at com.mercury.td.tdserver.api.logics.vc.CAbsVcLogic.addToVc(CAbsVcLogic.java:646)
at com.mercury.td.tdserver.api.logics.vc.CAbsVcLogic.addElementsToVc(CAbsVcLogic.java:560)
        wrapped in com.mercury.optane.core.CTdException: Failed to add elements to version control data base...
at com.mercury.td.tdserver.api.logics.vc.CAbsVcLogic.addElementsToVc(CAbsVcLogic.java:569)
at com.mercury.td.tdserver.api.logics.vc.VcAdministration.addProjectElementsToVc(VcAdministration.java:426)
        wrapped in com.mercury.optane.core.CTdException: Failed to add elements to project
at com.mercury.td.tdserver.api.logics.vc.VcAdministration.addProjectElementsToVc(VcAdministration.java:433)
at com.mercury.td.tdserver.api.logics.vc.VcAdministration.enableVersionControlDb(VcAdministration.java:174)
        wrapped in com.mercury.optane.core.CTdException: Failed to enable version control data base...
at com.mercury.td.tdserver.api.logics.vc.VcAdministration.enableVersionControlDb(VcAdministration.java:193)
at com.mercury.td.tdserver.proxy.CQcProxy.createVcsDb(CQcProxy.java:43)
at com.mercury.qcproxy.CQcRemoteProxy.createVcsDb(CQcRemoteProxy.java:81)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        wrapped in java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.mercury.optane.core.jndiproxy.CAbsJndiProxy.callRemoteMethod(CAbsJndiProxy.java:117)
        wrapped in com.mercury.optane.core.CTdException:
at com.mercury.optane.core.jndiproxy.CAbsJndiProxy.callRemoteMethod(CAbsJndiProxy.java:167)
at com.mercury.optane.core.jndiproxy.CAbsJndiProxy.callRemoteMethod(CAbsJndiProxy.java:79)
at com.mercury.qcproxy.CQcJndiProxy.activateMethodWithCallback(CQcJndiProxy.java:147)
at com.mercury.qcproxy.CQcJndiProxy.createVcsDb(CQcJndiProxy.java:47)
at com.mercury.td.saserver.api.logics.CProjectLogic.doVcsAction(CProjectLogic.java:571)
        wrapped in com.mercury.optane.core.CTdException: Failed to perform VCS Action
at com.mercury.td.saserver.api.logics.CProjectLogic.doVcsAction(CProjectLogic.java:600)
at com.mercury.td.saserver.web.CTdSiteAdminServlet.redirectDoVCSAction(CTdSiteAdminServlet.java:437)
at sun.reflect.GeneratedMethodAccessor155.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.mercury.optane.core.web.CAbsServlet.executeFunction(CAbsServlet.java:554)
        wrapped in com.mercury.optane.core.CTdException: Failed to Do VCSAction
at com.mercury.optane.core.web.CAbsServlet.executeFunction(CAbsServlet.java:560)
at com.mercury.optane.core.web.CAbsServlet.processRequest(CAbsServlet.java:535)
at com.mercury.optane.core.web.CAbsServlet.doPost(CAbsServlet.java:418)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:39)
at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:153)
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:59)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at org.apache.catalina.valves.FastCommonAccessLogValve.invoke(FastCommonAccessLogValve.java:481)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
at java.lang.Thread.run(Thread.java:534)

难道只能在新建项目时就对该项目启动版本控制才行吗?
上面的问题只是在下图中选择“Yes”时碰到的,但是如果我选择“No”的话,虽然项目还是能够启动版本控制成功的,但是当你登录启动版本控制的项目时发现从此无法再更改之前已有的测试用例了,因为这些测试用例没有在svn中check in过,这种情况又该如何解决呢?

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?(注-册)加入51Testing

x
分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏
回复

使用道具 举报

  • TA的每日心情
    奋斗
    2018-2-28 18:04
  • 签到天数: 40 天

    连续签到: 1 天

    [LV.5]测试团长

    2#
    发表于 2012-1-6 10:19:47 | 只看该作者
    提示信息是说你无权限操作?
    回复 支持 反对

    使用道具 举报

    该用户从未签到

    3#
    发表于 2012-1-10 16:07:26 | 只看该作者
    谢谢.先下了!.
    回复 支持 反对

    使用道具 举报

    该用户从未签到

    4#
     楼主| 发表于 2012-1-13 18:15:07 | 只看该作者
    我知道信息是提示:无权限操作,那想问一下怎么才能有权限呢?
    回复 支持 反对

    使用道具 举报

    本版积分规则

    关闭

    站长推荐上一条 /1 下一条

    小黑屋|手机版|Archiver|51Testing软件测试网 ( 沪ICP备05003035号 关于我们

    GMT+8, 2024-11-10 11:26 , Processed in 0.074373 second(s), 29 queries .

    Powered by Discuz! X3.2

    © 2001-2024 Comsenz Inc.

    快速回复 返回顶部 返回列表