Bug 767319 - Cloning test case to same test plan locks out the "Create a copy" option
Summary: Cloning test case to same test plan locks out the "Create a copy" option
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: TCMS
Classification: Other
Component: Web UI
Version: 3.6
Hardware: Unspecified
OS: Unspecified
unspecified
urgent
Target Milestone: ---
: ---
Assignee: Zheng Liu
QA Contact: tools-bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-12-13 19:21 UTC by David Spalding
Modified: 2016-06-23 04:18 UTC (History)
13 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-07-02 08:13:11 UTC


Attachments (Terms of Use)
screenshot of current functionality in 3.7.0 (136.00 KB, image/png)
2012-06-29 14:05 UTC, David Spalding
no flags Details

Description David Spalding 2011-12-13 19:21:11 UTC
Description of the problem:

I've just found a bug that impacts the way that I create test cases in TCMS. I'll start out with a basic case, almost a template, then clone it off within the same test plan, and make revision for each variation. I do this with the "Select Plan Use the same Plan " radio button. Below, the "Create a Copy (Unchecking will create a link to selected case)" option allowed me to create additional copies to edit each time I cloned.

NOW ... selecting the "Use the same plan" radio button locks out the "Create a copy" option so that ... you can't. :(  You CAN achieve this with a bad usability workaround, "Filter another plan," search for the current test plan, search, check the box for the (same) test plan found through search, and "Create a copy" can be selected. 


Steps to Reproduce: 

1. log into TCMS.
2. Create a new test plan, e.g. "testplan1."
3. Create a new test case, e.g. "testcase1." 
4. Save the test case.
5. In the plan document view, click the test case. 
6. Click the "Clone" button.
7. On the clone test case page, select radio button "Use the same Plan."
8. Try to click the "Create a copy" check box below.

Actual results:
Cannot select create a copy. This prevents user from cloning cases to the same
plan.

Expected results:
As with earlier versions, user can create a copy of the test case within the 
same test plan, and edit it to include variations. 

Additional info:
Previously used functionality has been broken. 

I'm currently facing test planning that requires me to create more than 50 
cases in rapid order. The 'Clone case - User current plan - Create copy' method
was the quickest way to do this, particularly when many fields are duplicated. 
This bug creates necessity for extra work just to find the current plan and 
create a new test case (copy, not link).

Comment 1 Danqing Li 2011-12-15 09:10:59 UTC
(In reply to comment #0)
> Description of the problem:
> 
> I've just found a bug that impacts the way that I create test cases in TCMS.
> I'll start out with a basic case, almost a template, then clone it off within
> the same test plan, and make revision for each variation. I do this with the
> "Select Plan Use the same Plan " radio button. Below, the "Create a Copy
> (Unchecking will create a link to selected case)" option allowed me to create
> additional copies to edit each time I cloned.
> 
> NOW ... selecting the "Use the same plan" radio button locks out the "Create a
> copy" option so that ... you can't. :(  You CAN achieve this with a bad
> usability workaround, "Filter another plan," search for the current test plan,
> search, check the box for the (same) test plan found through search, and
> "Create a copy" can be selected. 
> 
> 
> Steps to Reproduce: 
> 
> 1. log into TCMS.
> 2. Create a new test plan, e.g. "testplan1."
> 3. Create a new test case, e.g. "testcase1." 
> 4. Save the test case.
> 5. In the plan document view, click the test case. 
> 6. Click the "Clone" button.
> 7. On the clone test case page, select radio button "Use the same Plan."
> 8. Try to click the "Create a copy" check box below.
> 
> Actual results:
> Cannot select create a copy. This prevents user from cloning cases to the same
> plan.
> 
> Expected results:
> As with earlier versions, user can create a copy of the test case within the 
> same test plan, and edit it to include variations. 
> 
> Additional info:
> Previously used functionality has been broken. 
> 
> I'm currently facing test planning that requires me to create more than 50 
> cases in rapid order. The 'Clone case - User current plan - Create copy' method
> was the quickest way to do this, particularly when many fields are duplicated. 
> This bug creates necessity for extra work just to find the current plan and 
> create a new test case (copy, not link).

Hi, you still could create the copy for this case.
But when select the same plan , TCMS disable the 'create a link ', but only create a copy.
'Copy' means another case but with same content of this case.
'Link' means same case, so couldn't be added to same plan.

Comment 2 David Spalding 2011-12-16 18:31:45 UTC
I think you need to follow my instructions. You are locking out the ability to 
make a copy in the same test plan. "(Unchecking will create a link to selected 
case)" I DON'T WANT to make a link in the same test plan, I want to "Xerox" the 
case and then edit the result w/new content (setup, expected results, &c). In this
way many test cases with very similar steps/setup/breakdown and one change
can be made from a single "master" case. 

This is a regression of a useful function. Unless someone specifically requested
the preventative step, please restore the previous functionality.

Comment 3 yawei Li 2012-05-18 02:50:38 UTC
most user clone a case and modify it as a new case, so copy a case in one test plan should be supported. will be fixed in tcms 3.8.0.

Comment 4 David Spalding 2012-06-29 14:05:23 UTC
Created attachment 595311 [details]
screenshot of current functionality in 3.7.0

This appears to have been fixed in 3.7.0. Select "in same test plan" leaves
"Create a copy" checkbox deselected, but I can manually select it. 

steps

1. click "clone case." 
2. check "create a copy.
3. click "use the same plan" radio button.
=> "Create a copy" checkbox is deselected.
4. Re-select "create a copy" checkbox.
=> "Create a copy" checkbox is selected.
5. Click clone. 
=> A unique copy is created. 


Please reconfirm in your dev environment, if the functionality is intact, this 
bug report can be closed with my thanks. ,:)

Comment 5 Zheng Liu 2012-07-02 08:13:11 UTC
Confirmed on dev environment,this bug has been fixed. So close it.


Note You need to log in before you can comment on or make changes to this bug.