加入收藏 | 设为首页 | Life家族 | SCMLife | RMLife | PMLife | SQALife | TESTLife | 企业VIP专区
 
发新话题
打印

[已解决] Some issues after Testing against Test Database( 此文章被查看:455次,被回复:9篇!! )

本主题由 yunshan 于 2008-8-1 10:52 关闭

Some issues after Testing against Test Database

Hi,

Do u encounter such issues?

I do some change of schema through ClearQuest Designer and do "test work" after that?

when i return from "test work", i find "check in"  button grey color in "designer" window and when I try to do " undo checkout", the system prompt with an error screen: could not perform "undo check out" on schema .. because it is used at least one database.  you must delete associated database first. "

any diea on this issue? Thanks


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



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

TOP

Try to close the "Designer" window and Reopen it,then you can do the "undo checkout"



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

TOP

回复 沙发 的帖子

same issue!



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

TOP

要undo就删除测试库

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

TOP

是啊,其实只要删除测试库中的owner为cqadmin的表就行了(除了属于System的那些表),当然,删测试库就更直接了!

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

TOP

回复 5# 的帖子

Should I delete Physical Testing Database also? it seems delete also.

what i did:
1) delete physical testing database
2) create physical testing database again
3) login as admin, to start designer to delete checkout version schema
i get error when i did this step. "not allow to delete checked out schema".
should i create new database instead in designer?

Detailed steps are appreciated.

[ 本帖最后由 jyzhou817 于 2008-6-3 13:41 编辑 ]

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

TOP

When you perform "Test work" in CQ designer, the changes you made to the schema will be checkin and upgrade to the test database, that means the test database has already associate to the current schema changes. CQ will refuse you to undo check out, becuase the current schema changes are in using by test database.

Delete test database first, if you want undo check out.

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

TOP

回复 7# 的帖子

I did as what you suggested.

Everything looks fine until I check out 1 version of schema and do "test work" again. there is no "check in" menu again in designer screen. and only "undo checkout" button.
But, when I click "undo checkout", I encounter the same issue again.

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

TOP

回复 8# 的帖子

If you did no change with the schema, then "Check in" is the status of grey.

when you do the test work, the latest version of your test database will link to the current schema, you can't undo check out, unless delete the test database.

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

TOP

KAO,有这么麻烦吗。
当执行测试以后,测试数据库的schema已经更新到最新的数据库版本,如果你undo checkout,测试数据库的版本就和master db的版本不一样了,所以你看到了上述提示。
一般的做法是删除测试库,然后重新创建,关联到最新的schema 版本。
其实另外还有一个办法,不执行undo checkout,而是在你checkout的代码基础上把修改的所有内容恢复到checkout以前的状态,然后执行check in操作,这样只是shcema的版本增加了1而已,但是实际的内容还是和前面一个版本一致,就不需要删除再重建测试库。
希望写鸟语的兄弟能看明白。


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

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

TOP

发新话题