MantisBT - TestLink
View Issue Details
0004875TestLinkUser Interface Generalpublic2012-01-16 14:512014-07-28 20:33
keeyou 
fman 
normalminoralways
closedfixed 
1.9.3 (2011 Q3 - bug fixing) 
1.9.11 (2014 Q2 - bug fixing) 
MySQL
IE 8, IE 9, FF 8
5.2.9
READY FOR TESTING
0004875: Testsuites tree doesn't refresh after moving/copying testsuite
Despite setting "Update tree after every operation" parameter, testsuite tree does not refresh after operation of copying/moving testsuite.

Neverthelss, after opertaion of copying/moving TESTCASE, it does.
1. Test Specification
2. Set "Update tree after every operation"
3. click any testsuite
3. Test Suite Operations -> Move/Copy
4. choose any target container and hit Move or Copy button
No tags attached.
Issue History
2012-01-16 14:51keeyouNew Issue
2012-01-19 19:37skilletaudioNote Added: 0016267
2012-01-19 21:29fmanNote Added: 0016269
2014-06-07 18:09fmanQA Team - Task Workflow Status => READY FOR TESTING
2014-06-07 18:09fmanStatusnew => resolved
2014-06-07 18:09fmanFixed in Version => 1.9.11 (2014 Q2 - bug fixing)
2014-06-07 18:09fmanResolutionopen => fixed
2014-06-07 18:09fmanAssigned To => fman
2014-07-28 20:33fmanStatusresolved => closed

Notes
(0016267)
skilletaudio   
2012-01-19 19:37   
Experienced same issue, was able to patch by making the following change in my install of 1.9.3:


Index: lib/testcases/containerEdit.php
===================================================================
--- lib/testcases/containerEdit.php (revision 23)
+++ lib/testcases/containerEdit.php (working copy)
@@ -698,6 +698,7 @@
     $guiObj = new stdClass();
     $guiObj->attachments = getAttachmentInfosFrom($tsuiteMgr,$argsObj->objectID);
     $guiObj->id = $argsObj->objectID;
+ $guiObj->refreshTree = $argsObj->refreshTree; //fix for tree not refreshing after copy
     
     $tsuiteMgr->show($smartyObj,$guiObj,$template_dir,$argsObj->objectID,null,'ok');
 }
@@ -720,6 +721,7 @@
 
     $guiObj = new stdClass();
     $guiObj->id = $argsObj->tprojectID;
+ $guiObj->refreshTree = $argsObj->refreshTree; //fix for tree not refreshing after move
 
       $tprojectMgr->show($smartyObj,$guiObj,$template_dir,$argsObj->tprojectID,null,'ok');
 }
@@ -1134,4 +1136,4 @@
 }
(0016269)
fman   
2012-01-19 21:29   
thank for code
For future contribution we prefer full file (is easy for normal users to apply in his/her installation)