|Anonymous | Login | Signup for a new account||2017-01-21 23:41 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-06 13:50|
|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|
|Attached Files|| testlink-filter-custom-fields-copy-paste-pbm.PNG [^] (52,127 bytes) 2017-01-06 13:48
|2017-01-06 13:48||abIng||New Issue|
|2017-01-06 13:48||abIng||File Added: testlink-filter-custom-fields-copy-paste-pbm.PNG|
|Copyright © 2000 - 2017 MantisBT Team|