Bug 755456

Summary: Link (not copy) testcases when cloning some test plan in TCMS by default
Product: [Other] TCMS Reporter: Iveta Wiedermann <isenfeld>
Component: Web UIAssignee: June Zhang <junzhang>
Status: VERIFIED --- QA Contact: Nobody <nobody>
Severity: high Docs Contact:
Priority: high    
Version: 3.6CC: jcai, junzhang, ohudlick, ryang, vchen, xkuang, yuwang
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 3.6.3-2 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:

Description Iveta Wiedermann 2011-11-21 07:52:42 UTC
Description of problem:
When cloning some test plan in TCMS in most cases we want to only link testcases to the new test plan, not to copy it, but there is checked option "Create a copy (Unchecking will create a link to selected plans)" in Copy settings by default. It would be better to have this option not checked by default.

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


How reproducible:
Always

Steps to Reproduce:
1. Go to some test plan
2. Click on "Clone plan"
3. See option "Create copy" in Copy settings
  
Actual results:
Checked "Create a copy (Unchecking will create a link to selected plans)"

Expected results:
Unchecked "Create a copy (Unchecking will create a link to selected plans)"

Additional info:

Comment 1 Petr Šplíchal 2011-12-02 13:58:53 UTC
Completely agreed. This dangerous default value already caused
many duplicates of test cases to be created which makes their
maintenance very hard for us.

Comment 2 jianchen 2011-12-05 01:23:29 UTC
(In reply to comment #0)
> Description of problem:
> When cloning some test plan in TCMS in most cases we want to only link
> testcases to the new test plan, not to copy it, but there is checked option
> "Create a copy (Unchecking will create a link to selected plans)" in Copy
> settings by default. It would be better to have this option not checked by
> default.
> 
> Version-Release number of selected component (if applicable):
> 
> 
> How reproducible:
> Always
> 
> Steps to Reproduce:
> 1. Go to some test plan
> 2. Click on "Clone plan"
> 3. See option "Create copy" in Copy settings
> 
> Actual results:
> Checked "Create a copy (Unchecking will create a link to selected plans)"
> 
> Expected results:
> Unchecked "Create a copy (Unchecking will create a link to selected plans)"
> 
> Additional info:

I think this bug is easy to fix in the next version tcms 3.6.3.
Thanks.

Comment 3 Xin Gao 2012-01-10 10:33:18 UTC
Verify version:
3.6.3 on englab --> PASSED

Verify steps:
1. Go to some test plan
2. Click on "Clone plan"
3. See option "Create copy" in Copy settings

Actual results:
default is: Unchecked "Create a copy (Unchecking will create a link to selected plans)"

Comment 5 jianchen 2012-01-11 10:16:17 UTC
(In reply to comment #4)
> Thanks for the fix. However, the same "Create a copy" checkbox
> should be unchecked on the clone case page, for example:
> 
> https://tcms.englab.nay.redhat.com/cases/clone/?type=case&case_sort_by=&plan=289&from_plan=289&from_plan=289&template_type=case&new_case_status_id=&new_priority_id=&a=search&summary=&author=&default_tester=&is_automated=&category=&case_status=2&component=&tag__name__in=&case=51362&case=46490&case=35269&case=35267&case=12516

Thanks for your advice, now "Create a copy" checkbox is unchecked.

Comment 6 Petr Šplíchal 2012-01-11 15:41:45 UTC
Will that change appear on the stage later? For now I still see
the check box selected.

Comment 8 Petr Šplíchal 2012-01-12 09:12:49 UTC
Looks fine now, thanks for the fix!