Mantis Bugtracker 

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0007808TestLinkTest Spec. - Search Test Casespublic2017-01-06 13:482017-01-25 13:14
Assigned Tofman 
StatusclosedResolutionwon't fix 
PlatformOSOS Version
Product Version 
Fixed in Version 
Summary0007808: Missing test cases while applying a filter on a test suite created as another test suite copy - with custom field
DescriptionAfter 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 InformationThe 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.
TagsNo tags attached.
Database (MySQL,Postgres,etc)MS SQL
PHP Version
QA Team - Task Workflow StatusTBD
Attached Filespng file icon testlink-filter-custom-fields-copy-paste-pbm.PNG [^] (52,127 bytes) 2017-01-06 13:48

- Relationships

-  Notes
abIng (reporter)
2017-01-24 10:16

The test was done for 1.9.14
fman (administrator)
2017-01-24 14:05

If you do not reproduce on 1.9.16 I will ignore it
abIng (reporter)
2017-01-25 10:45

I would be happy, but:
- with 1.9.16 I am blocked by [^]
- with 1.9.15 I was blocked by [^] (really fixed in 1.9.16)

- Issue History
Date Modified Username Field Change
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 - 2018 MantisBT Team
Powered by Mantis Bugtracker