MantisBT - TestLink
View Issue Details
0005518TestLinkTest Plan Managementpublic2013-02-05 22:042013-05-26 18:50
biswasdi 
fman 
highmajoralways
closedfixed 
1.9.5 (2012 Q4 - bug fixing) 
1.9.6 (2013 Q1 - bug fixing) 
MySQL
Firefox, IE9
READY FOR TESTING
0005518: error message while trying to activate existing inactive Test Plans.
I know that Issue 5465(Inactive test Plans do not show up on Test Plan Management) has got fixed where we can see the Inactive and non-public Test Plans. However when we go to update an existing Inactive Test Plan and hit the Update button on the "Edit Test Plan" page, we get a message stating "There is already a Test Plan with this name. Please choose another name!".

1. Thus we are not able to activate an existing inactive Test Plan.
2. Also when we update any other active Test Plan, the Test Plan Management page refreshes when all Inactive and Non-public Test Plans just disappear. We need to reload the page by clicking Projects and then we can see all of the data.

I am still on TestLink 1.9.5 and I understand that upgrading to TestLink 1.9.6 would require me to go through DB upgrade (I just want to stay in 1.9.5 until your team officially releases TestLink 1.9.6).

I took all the code from Issue 5406 (glitorious) and just copied the lib\plan folder to my server. May be it is missing something.

Any quick help would be very beneficial to us.
1. Go to Test Project in TestLink that has inactive Test Plans.
2. Click on a Test Plan that is inactive.
3. On the "Edit Test Plan" page, please check the Active checkbox.
4. Click on Update button.
5. We get a message stating "There is already a Test Plan with this name. Please choose another name!".
6. Also if we update any other active test plan, the Test Plan management landing page reloads and doesn't show the Inactive and Non-public Test plans.
I am on TestLink 1.9.5.
I took the latest code from Issue 5406 from the follwing url (http://gitorious.org/testlink-ga/testlink-code/archive-tarball/testlink_1_9 [^]). But I just took the Lib/Plan folder from the source code and put it on my TestLink server.

Please advise if you might already have a fix for my issue in TestLink 1.9.5.
TO BE FIXED on 2.0
related to 0005406closed fman Availables hot-fixes for 1.9.5 & How To get full fixed package from gitorious 
Issue History
2013-02-05 22:04biswasdiNew Issue
2013-02-07 16:40fmanNote Added: 0018296
2013-02-07 21:12biswasdiNote Added: 0018298
2013-02-09 16:55fmanNote Added: 0018306
2013-02-11 08:51sujataverma3Note Added: 0018308
2013-02-12 20:04fmanSummaryTool renders error while trying to activate existing inactive Test Plans. => error message while trying to activate existing inactive Test Plans.
2013-02-12 20:04fmanRelationship addedparent of 0005406
2013-02-12 20:05fmanRelationship deletedparent of 0005406
2013-02-12 20:05fmanRelationship addedrelated to 0005406
2013-02-12 20:07fmanTag Attached: TO BE FIXED on 2.0
2013-02-12 20:08fmanNote Added: 0018316
2013-02-12 20:08fmanAssigned To => fman
2013-02-12 20:08fmanStatusnew => assigned
2013-02-12 20:08fmanQA Team - Task Workflow StatusTBD => READY FOR TESTING
2013-02-12 20:08fmanFixed in Version => 1.9.6 (2013 Q1 - bug fixing)
2013-02-12 20:09fmanStatusassigned => resolved
2013-02-12 20:09fmanResolutionopen => fixed
2013-05-26 18:50fmanStatusresolved => closed

Notes
(0018296)
fman   
2013-02-07 16:40   
best thing you can do is have a parallel installation with latest version and test there if issue is fixed.
we do not provide fixes in other way that through official release or comits you got from gitorious
(0018298)
biswasdi   
2013-02-07 21:12   
Just wanted to confirm - Are you suggesting me to install TL 1.9.6 (the latest version available in gitorious) on a seperate instance and validate if the issue is fixed there?
or
Is there a seperate latest TestLink 1.9.5 package that I should try to install and test?

Thanks for your help!
(0018306)
fman   
2013-02-09 16:55   
>> Are you suggesting me to install TL 1.9.6 (the latest version available in
>> gitorious) on a seperate instance and validate if the issue is fixed there?
this one.
(0018308)
sujataverma3   
2013-02-11 08:51   
I could reproduce the issue , took latest code today ( Feb11,2013) from below link

(http://gitorious.org/testlink-ga/testlink-code/archive-tarball/testlink_1_9 [^])

Installed it, and found the issues. The OS is Windows XP, MySQL 5.1.30,PHP 5.2.8


Steps to reproduce

Issue 1 # Inactive test plan does not show up after refresh:

1) Go to Test Project-> Test Plan Management-> Create "Test Plan A" -> InActive , Public

2) Click OK -> Screen Refreshes but says:

"There are no Test Plans defined! Create one to allow test execution functionality "

3) Now go back to Project-> Test Plan management-> We can see the Inactive Test Plan-> "Test Plan A"

Issue 2 # Inactive test plan could not be made active:

4) Click on "Test Plan A" -> check the active windows-> Click "Update"
Got error message

"There is already a Test Plan with this name. Please choose another name!"
(0018316)
fman   
2013-02-12 20:08   
http://gitorious.org/testlink-ga/testlink-code/commit/f0fa48b697c3e23046b515597b5d60d4d11693d9 [^]