|Anonymous | Login | Signup for a new account||2017-02-23 07:26 UTC|
|Main | My View | View Issues | Change Log | My Account|
|View Issue Details|
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0007808||TestLink||Test Spec. - Search Test Cases||public||2017-01-06 13:48||2017-01-25 13:14|
|Fixed in Version|
|Summary||0007808: Missing test cases while applying a filter on a test suite created as another test suite copy - with custom field|
|Description||After copying a testsuite containing testcases with multiple versions and with custom fields some test cases are lost in a filter.|
The steps to reproduce and detailed analysis are in the following sections.
The similar problem 7738 is already fixed, but only partially.
The patch works fine if there is no custom fields in the filter, but fails when there is one.
|Steps To Reproduce||?Create a CustomField: "Kind Of Test" , type radio, values: Functionnal|Technical|
?Create a new project, Assign CustomField "Kind Of Test" to this new project, then create a new test suite
?Create three test cases.
?The first one edit and set the CustomField "Kind Of Test' to "Functional"
?Create a new version for the second test, and edit and set the CustomField "Kind Of Test' to "Functional"
?Keep the last test case with empty value to CustomField "Kind Of Test"
?Filter test cases : CustomField "Kind Of Test" = "Functional" - there are two (1 and 2)
?Copy the test suite - now we have 6 test cases, four of them are the CustomField "Kind Of Test" set to "Functional"
?Filter test cases : CustomField "Kind Of Test" = "Functional" - only three are filtered (1,2 and 4 that is the copy of 1); the test 5 that should be present is missing
The attached screenshot testlink-filter-custom-fields-copy-paste-pbm.png demonstrates the last step. Here the original test case TC2 with two versions is present in the filter but its copy is missing.
|Additional Information||The reason of the problem seems to be the same as in 7738 - ordering by id instead of ordering by version.|
When test cases are created manually theorder is the same. When it is done using copy paste suite operation the order is opposite.
|Tags||No tags attached.|
|Database (MySQL,Postgres,etc)||MS SQL|
|QA Team - Task Workflow Status||TBD|
|Attached Files|| testlink-filter-custom-fields-copy-paste-pbm.PNG [^] (52,127 bytes) 2017-01-06 13:48
|The test was done for 1.9.14|
|If you do not reproduce on 1.9.16 I will ignore it|
I would be happy, but:
- with 1.9.16 I am blocked by http://mantis.testlink.org/view.php?id=7822 [^]
- with 1.9.15 I was blocked by http://mantis.testlink.org/view.php?id=7683 [^] (really fixed in 1.9.16)
|2017-01-06 13:48||abIng||New Issue|
|2017-01-06 13:48||abIng||File Added: testlink-filter-custom-fields-copy-paste-pbm.PNG|
|2017-01-24 10:16||abIng||Note Added: 0025914|
|2017-01-24 14:05||fman||Note Added: 0025915|
|2017-01-24 14:05||fman||Status||new => feedback|
|2017-01-25 10:45||abIng||Note Added: 0025923|
|2017-01-25 10:45||abIng||Status||feedback => new|
|2017-01-25 13:14||fman||QA Team - Task Workflow Status||=> TBD|
|2017-01-25 13:14||fman||Status||new => closed|
|2017-01-25 13:14||fman||Assigned To||=> fman|
|2017-01-25 13:14||fman||Resolution||open => won't fix|
|Copyright © 2000 - 2017 MantisBT Team|