Mantis Bugtracker          
testlink.org

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0007899TestLinkTest Plan - Assign Test Case Executionpublic2017-03-25 09:212017-04-04 06:02
Reportergrs476 
Assigned Tofman 
PriorityhighSeveritymajorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version 
Fixed in Version1.9.17 (2018 Q1) 
Summary0007899: Search by Custom Field value, left tree has right result, while right pane show less results
DescriptionWhen I am trying to assign test cases through a custom field filter , I can see them appearing but not all of them are available for assignment. This happens when you have comma separated values in custom field of type String.

If a test case is listed after searching , it should also be available for assignment.
Steps To Reproduce1. Define a custom field say CF1 with type 'String' and assign it to your project.
2. Create two Test cases TC-1 and TC-2 such that value of CF1 in TC-1 is Value 1 and value of CF1 in TC-2 is Value1 , Value2
3. Add these two test cases to the Test Plan
4. Click on Assign Test Case Execution.
5. Type Value 1 in CF1 under search filters and click search
6. You will see that both the test cases will appear under the Test Suite on left side
7. Now click on test suite so as to assign to specific tester.

Expected Result - Both TC-1 and TC-2 should show up on right side
Actual result - Only TC-1 appears on the right side
Additional InformationPlease let me know if you can understand the issue . I can also upload a video explaining the issue here
TagsNo tags attached.
Database (MySQL,Postgres,etc)MariaDB
Browser
PHP Version
TestCaseID
QA Team - Task Workflow StatusREADY FOR TESTING
Attached Filesjpg file icon Screenshot_3.jpg [^] (124,612 bytes) 2017-03-25 09:21


xml file icon customFields.xml [^] (16,365 bytes) 2017-03-25 13:00

- Relationships
child of 0007817closedfman Availables hot-fixes for 1.9.16 & How To get full fixed package from GitHub 

-  Notes
(0026194)
grs476 (reporter)
2017-03-25 09:22

The version is 1.9.15
(0026195)
fman (administrator)
2017-03-25 10:46
edited on: 2017-03-25 11:49

1) Please as usual get latest code from github, do fresh install, retest & provide feedback

2) I do not think video is a replacement for a good detailed TEXT test case.

3) Please provide custom field definition in XML format to allow import

(0026197)
grs476 (reporter)
2017-03-25 12:59

1) I checked it on 1.9.16 and it is reproducible there as well.

2) I am assuming you understood the issue

3) Attaching the custom fields xml. The custom field I am referring is called PBI.
(0026198)
grs476 (reporter)
2017-03-25 13:02

I will check with latest git code on Tuesday meanwhile
(0026199)
fman (administrator)
2017-03-25 14:34

WIP
(0026200)
fman (administrator)
2017-03-25 15:08

Issue found

filter on Custom Fields (CF) applied twice in soma sort of cascade (still need to understand is is right)

First => testcase->get_last_active_version() CF value search in LIKE MODE

Second => testcase->filter_tcversions_by_cfields() CF value search done in EXACT VALUE, this was the problem => changed to LIKE
(0026201)
fman (administrator)
2017-03-25 15:16

https://github.com/TestLinkOpenSourceTRMS/testlink-code/commit/1ee5f786440cf8ed76cc6624eba573b77584023c [^]

- Issue History
Date Modified Username Field Change
2017-03-25 09:21 grs476 New Issue
2017-03-25 09:21 grs476 File Added: Screenshot_3.jpg
2017-03-25 09:22 grs476 Note Added: 0026194
2017-03-25 10:46 fman Note Added: 0026195
2017-03-25 10:46 fman Assigned To => fman
2017-03-25 10:46 fman Status new => feedback
2017-03-25 11:49 fman Note Edited: 0026195 View Revisions
2017-03-25 11:53 fman Status feedback => acknowledged
2017-03-25 12:59 grs476 Note Added: 0026197
2017-03-25 13:00 grs476 File Added: customFields.xml
2017-03-25 13:02 grs476 Note Added: 0026198
2017-03-25 14:34 fman Note Added: 0026199
2017-03-25 15:08 fman Note Added: 0026200
2017-03-25 15:14 fman QA Team - Task Workflow Status => TBD
2017-03-25 15:14 fman Summary All of the test cases that appear on search are not available for assigning => Search by Custom Field value, left tree has right result, while right pane show less results
2017-03-25 15:14 fman Description Updated View Revisions
2017-03-25 15:16 fman Note Added: 0026201
2017-03-25 15:16 fman QA Team - Task Workflow Status TBD => READY FOR TESTING
2017-03-25 15:16 fman Fixed in Version => 1.9.17 (2018 Q1)
2017-03-25 15:16 fman Status acknowledged => feedback
2017-03-25 15:16 fman Relationship added child of 0007817
2017-04-04 06:02 fman Status feedback => closed
2017-04-04 06:02 fman Resolution open => fixed



Copyright © 2000 - 2018 MantisBT Team
Powered by Mantis Bugtracker