Bug 717870

Summary: problem to clone plan no. 3486
Product: [Other] TCMS Reporter: Tomas Pelka <tpelka>
Component: ApplicationAssignee: Yuguang Wang <yuwang>
Status: VERIFIED --- QA Contact: Nobody <nobody>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 3.4.1CC: GFENG, junzhang, jzhao, ryang, vchen
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 3.5.0-3 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
clone plan 3486
none
UnboundLocalError none

Description Tomas Pelka 2011-06-30 08:59:09 UTC
Description of problem:
Hi I have a problem to clone plan number 3486. This plan have originally 242 test cases. But all my attempts to clone them ended like these plans:
* https://tcms.engineering.redhat.com/plan/4137/
* https://tcms.engineering.redhat.com/plan/4136/
* https://tcms.engineering.redhat.com/plan/4135/

Only 4 of 242 cases were cloned.
 

Version-Release number of selected component (if applicable):
Nitrate 3.4.1

How reproducible:
100%

Steps to Reproduce:
1. open plan number 3486
2. hit clone button
3. let checked the default options
  
Actual results:
only 4 of 242 cases were cloned

Expected results:


Additional info:

Comment 1 Jin Zhao 2011-07-01 03:09:02 UTC
Created attachment 510785 [details]
clone plan 3486

Try to clone plan 3486 on stage, can reproduce it. 
1.Open https://tcms-stage.englab.bne.redhat.com/plan/3486
2.Click clone plan
3.keep the default options,click clone button
Actual result:
Will show Error page as attachment, but actually the clone plan[1] have been created with only 4 cases. 
[1]https://tcms-stage.englab.bne.redhat.com/plan/4131/

Additional info: try to clone other plan[2],clone successfully.
[2]https://tcms-stage.englab.bne.redhat.com/plan/3471

Comment 2 Yuguang Wang 2011-07-01 08:01:34 UTC
Will fix it in V3.5, it's caused by some cases with default_tester = None.

Comment 3 Yuguang Wang 2011-07-04 06:27:53 UTC
Fixed, will inform you to verify when it's online.

Thanks.

Comment 4 Guoping Feng 2011-07-15 05:32:37 UTC
Created attachment 513323 [details]
UnboundLocalError

Verify 3.5.0-1 on stage -->FAIL

Verify steps:
1.Open https://tcms-stage.englab.bne.redhat.com/plan/3486
2.Click clone plan
3.keep the default options,click clone button.

Actual result:
1.After step3, it turn to an error page "UnboundLocalError at /plans/clone/". Please refer to the attachment "UnboundLocalError"
2.Actually the new cloned plan has been created with no case in it.

Comment 5 Yuguang Wang 2011-07-18 05:33:35 UTC
*** Bug 721222 has been marked as a duplicate of this bug. ***

Comment 6 Yuguang Wang 2011-07-18 05:37:58 UTC
It's caused by some code refine(regarding to bug 545082).
Already fixed, sorry for any inconvenience.

Comment 7 Xin Gao 2011-07-20 07:00:56 UTC
Verify version:
3.5.0-3 on stage.

Actual results:
Clone successfully

Verify result: PASSED