Mantis Bugtracker 

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0008600TestLinkFilterspublic2019-03-15 16:452019-05-13 06:50
Assigned To 
PlatformOSWindowsOS Version
Product Version1.9.18 (2018 Q3) 
Fixed in Version 
Summary0008600: Help Needed trying to add Workflow_status filter in execution mode (Custom DEVELOPMENT)
DescriptionPlease see forum post [^] for graphics.

After enabling the workflow_status filter in and tlTestCaseFilterControl.class.php the field is visible in the GUI, but not functional.
Steps To Reproduce1) Adding $tlCfg->tree_filter_cfg->testcases->execution_mode->filter_workflow_status = ENABLED; to

2) Adding 'filter_workflow_status' to the array $all_filters in tlTestCaseFilterControl.class.php.

3) Adding 'filter_workflow_status' to the array $mode_filter_mapping in tlTestCaseFilterControl.class.php.

4) Attempt to use filter in execution mode.
Additional InformationI have gone through tlTestCaseFilterControl.class.php and The functionality should be there from what I can see.

But I stumbled upon what could be a syntax error on line 1773 in that appear to place the rest of the file in an sql-query. This might be intentional, but it appears strange given the size of it and the following commentary and code.
Database (MySQL,Postgres,etc)10.1.38-MariaDB
BrowserChrome, Firefox
PHP VersionPHP version: 7.3.2
QA Team - Task Workflow StatusTBD
Attached Filespng file icon status field show.png [^] (47,739 bytes) 2019-03-25 13:39

- Relationships

-  Notes
fman (administrator)
2019-03-16 09:12
edited on: 2019-03-16 09:13

Have you checked if the queries used the field?

Do the right work and upload here the images that you have uploaded in forum, because nobody is going back and forth between systems to get the info (at least I do not plan absolutely to do this)

provide code in form of Pull request

Summary is WRONG because what is not working is a CHANGE YOU HAVE done, and not a pice of standard supported code.

ahn (reporter)
2019-03-25 15:25
edited on: 2019-04-10 14:31

I have attached the image from the forum. It shows what I have been attempting to do visually.

ahn (reporter)
2019-04-10 15:40
edited on: 2019-04-11 09:44

I'm trying to add so that one can by configuration use the workflow-status field in execution_mode.

At the moment there is a small bit of code in that handles the workflow-status field. It is called in the function getTestSpecTree. This function is specific for test specification. And the small bit of code is nested deeply into it. It does not appear to be re-usable to the execution_mode.

However one can create a function to append the required SQL-query to the variable with the SQL-query for execution_mode.

ahn (reporter)
2019-05-13 06:50

SQL-query does not appear to use the field.

- Issue History
Date Modified Username Field Change
2019-03-15 16:45 ahn New Issue
2019-03-15 16:48 ahn Tag Attached: Filters
2019-03-16 09:12 fman Note Added: 0028604
2019-03-16 09:13 fman Note Edited: 0028604 View Revisions
2019-03-16 09:13 fman QA Team - Task Workflow Status => TBD
2019-03-16 09:13 fman Summary Workflow_status filter not working in execution mode => Help Needed trying to add Workflow_status filter in execution mode (Custom DEVELOPMENT)
2019-03-25 13:39 ahn File Added: status field show.png
2019-03-25 15:25 ahn Note Added: 0028626
2019-03-28 13:15 ahn Note Added: 0028630
2019-03-28 13:17 ahn Note Edited: 0028630 View Revisions
2019-03-28 15:24 ahn Note Edited: 0028630 View Revisions
2019-03-28 15:25 ahn Note Edited: 0028630 View Revisions
2019-04-01 14:15 ahn Note View State: 0028630: private
2019-04-10 14:31 ahn Note Edited: 0028626 View Revisions
2019-04-10 15:40 ahn Note Added: 0028698
2019-04-10 15:41 ahn Note Deleted: 0028630
2019-04-11 09:43 ahn Note View State: 0028698: private
2019-04-11 09:44 ahn Note Edited: 0028698 View Revisions
2019-04-11 09:44 ahn Note View State: 0028698: public
2019-05-13 06:50 ahn Note Added: 0028822

Copyright © 2000 - 2020 MantisBT Team
Powered by Mantis Bugtracker