Mantis Bugtracker          
testlink.org

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0007808TestLinkTest Spec. - Search Test Casespublic2017-01-06 13:482017-01-06 13:50
ReporterabIng 
Assigned To 
PrioritynormalSeverityminorReproducibilityalways
StatusnewResolutionopen 
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
Browser
PHP Version
TestCaseID
QA Team - Task Workflow Status
Attached Filespng file icon testlink-filter-custom-fields-copy-paste-pbm.PNG [^] (52,127 bytes) 2017-01-06 13:48

- Relationships

-  Notes
There are no notes attached to this issue.

- 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



Copyright © 2000 - 2017 MantisBT Team
Powered by Mantis Bugtracker