MantisBT - TestLink
View Issue Details
0005344TestLinkAssign Test Case Executionpublic2012-11-14 05:012013-05-26 20:06
plongthanh 
fman 
normalminoralways
closedfixed 
1.9.4 (2012 Q3 - bug fixing) 
1.9.5 (2012 Q4 - bug fixing) 
MySQL
Firefox, Google Chrome
5.3.10
READY FOR TESTING
0005344: BULK EXECUTION - Tester A can execute test case that assigned to Tester B
I config as following:

$tlCfg->exec_cfg->show_testsuite_contents = ENABLED;
$tlCfg->exec_cfg->view_mode->tester='all';

I login with tester account -> then I go to "Test Execution" page -> select a test suite that assigned to other tester (not me). On the UI, I can log test result for all test case.

I think it is not good if I can execute test case of other tester.
TO BE FIXED on 2.0
child of 0005193closed fman Availables hot-fixes for 1.9.4 & How To get full fixed package from gitorious 
png [Issue-5344]_Result_after_modify_code.PNG (81,789) 2012-11-19 08:14
http://mantis.testlink.org/file_download.php?file_id=2968&type=bug
png
Issue History
2012-11-14 05:01plongthanhNew Issue
2012-11-14 06:23fmanNote Added: 0017815
2012-11-14 06:32plongthanhNote Added: 0017817
2012-11-14 21:27fmanSummaryTester A can execute test case that assigned to Tester B by log test result on parent test suite => BULK EXECUTION - Tester A can execute test case that assigned to Tester B
2012-11-14 21:27fmanAssigned To => fman
2012-11-14 21:27fmanStatusnew => assigned
2012-11-14 22:19fmanTag Attached: TO BE FIXED on 2.0
2012-11-14 22:21fmanNote Added: 0017820
2012-11-14 22:21fmanRelationship addedchild of 0005193
2012-11-15 10:05fmanStatusassigned => feedback
2012-11-19 08:14plongthanhFile Added: [Issue-5344]_Result_after_modify_code.PNG
2012-11-19 08:17plongthanhNote Added: 0017839
2012-11-19 08:17plongthanhStatusfeedback => assigned
2012-11-19 15:23fmanTask Workflow StatusTBD => READY FOR TESTING
2012-11-19 15:23fmanStatusassigned => resolved
2012-11-19 15:23fmanFixed in Version => 1.9.5 (2012 Q4 - bug fixing)
2012-11-19 15:23fmanResolutionopen => fixed
2013-05-26 20:06fmanStatusresolved => closed

Notes
(0017815)
fman   
2012-11-14 06:23   
1. what happens if you point to specific test case ?

// Filter Test cases a user with tester role can VIEW depending on
// test execution assignment.

// all: all test cases.
// assigned_to_me: test cases assigned to logged user.
// assigned_to_me_or_free: test cases assigned to logged user or not assigned
$tlCfg->exec_cfg->view_mode->tester='assigned_to_me';

// Filter Test cases a user with tester role can EXECUTE depending on
// test execution assignment.

// all: all test cases.
// assigned_to_me: test cases assigned to logged user.
// assigned_to_me_or_free: test cases assigned to logged user or not assigned
$tlCfg->exec_cfg->exec_mode->tester='assigned_to_me';

what are the config of these options for you ?
(0017817)
plongthanh   
2012-11-14 06:32   
>1. what happens if you point to specific test case ?
If I point to specific test case, I can not execute. It is good.

>$tlCfg->exec_cfg->view_mode->tester='all';
I set to "all" because I want all tester can see test result of other tester

>$tlCfg->exec_cfg->exec_mode->tester='assigned_to_me';
By default, I use this config.

I think problem come from following setting: $tlCfg->exec_cfg->show_testsuite_contents = ENABLED;
(0017820)
fman   
2012-11-14 22:21   
Please try with
http://gitorious.org/testlink-ga/testlink-code/commit/3852512a011bc1e841c0d221855d58f3123c303a [^]

and provide feedback
(0017839)
plongthanh   
2012-11-19 08:17   
>Please try with
>http://gitorious.org/testlink-ga/testlink-code/commit/3852512a011bc1e841c0d221855d58f3123c303a [^] [^]
>and provide feedback

Sorry for my late reply.
Today, I modified "execSetResults.tpl" as your guideline.
The result seem very good.
Please see attached file: "[Issue-5344]_Result_after_modify_code.PNG"