MantisBT - TestLink
View Issue Details
0004221TestLinkReportspublic2011-02-04 17:452011-03-18 19:08
fyl 
Julian 
highmajoralways
closedfixed 
09 x86_64 x86_64 x86_64 GNU/Linu09 x86_64 x86_64 x86_64 GNU/Linu09 x86_64 x86_64
1.9.1 (bug fixing) 
1.9.2 (2011 Q2 - bug fixing) 
mysql 5.1.31
Firefox, Chrome, Safari
5.3.0
0004221: Test Results matrix HTML: File does not exist: \\*gui\\
The "Test Results Matrix" report will not run in HTML. I can run it as an EXCEL file and that works. All the other reports work fine.


root@testlinkdev2 bin]# ./httpd -v
Server version: Apache/2.2.14 (Unix)
Server built: Feb 22 2010 15:08:51

mysql> select version();
+------------------------------+
| version() |
+------------------------------+
| 5.1.31sp1-enterprise-gpl-pro |
+------------------------------+
1 row in set (0.00 sec)

java version "1.4.2"


Select the Current Test Plan.
Select "Test reports and Metrics"
Select "Test result Matrix"

Firebug uncovered this:
It seems that the following Java Script executes while trying to run "Test result matrix": ext-all.js

b is undefined
[Break On This Error] (function(){var h=Ext.util,k=Ext.each,...lclick",this.onNodeDblClick,this)}});
No tags attached.
duplicate of 0004195closed fman Debug Messages on Reports ( for example: Query Metrics ) 
png ext-all-js.png (216,033) 2011-02-04 19:18
http://mantis.testlink.org/file_download.php?file_id=2140&type=bug
png

xls MB221_test_spec-2011-02-04.xls (53,533) 2011-02-04 19:21
http://mantis.testlink.org/file_download.php?file_id=2141&type=bug
Issue History
2011-02-04 17:45fylNew Issue
2011-02-04 18:06fylNote Added: 0013510
2011-02-04 18:11fylNote Added: 0013511
2011-02-04 18:15fylNote Added: 0013512
2011-02-04 18:19fylNote Added: 0013513
2011-02-04 18:20fylNote Added: 0013514
2011-02-04 18:41fmanNote Deleted: 0013511
2011-02-04 18:43fmanNote Added: 0013515
2011-02-04 19:14fylNote Added: 0013516
2011-02-04 19:18fylFile Added: ext-all-js.png
2011-02-04 19:20fylNote Added: 0013517
2011-02-04 19:21fylFile Added: MB221_test_spec-2011-02-04.xls
2011-02-04 19:22fylNote Added: 0013518
2011-02-07 17:47fylNote Added: 0013553
2011-02-15 20:29lois@rockyou.comNote Added: 0013629
2011-02-15 20:40lois@rockyou.comNote Edited: 0013629bug_revision_view_page.php?bugnote_id=13629#r922
2011-02-22 20:08fylNote Added: 0013724
2011-02-22 20:53JulianNote Added: 0013725
2011-02-23 06:32JulianStatusnew => feedback
2011-02-23 16:59fylNote Added: 0013734
2011-02-23 16:59fylStatusfeedback => new
2011-02-23 17:11JulianStatusnew => resolved
2011-02-23 17:11JulianFixed in Version => 1.9.2 (2011 Q2 - bug fixing)
2011-02-23 17:11JulianResolutionopen => fixed
2011-02-23 17:11JulianAssigned To => Julian
2011-02-23 17:12JulianRelationship addedduplicate of 0004195
2011-03-18 19:08fmanNote Added: 0013952
2011-03-18 19:08fmanStatusresolved => closed

Notes
(0013510)
fyl   
2011-02-04 18:06   
I tried updating Java from 1.4 to 1.6 and still see the same "b is undefined" for java script ext-all.js (line 7).
(0013512)
fyl   
2011-02-04 18:15   
New version of Java:

java version "1.6.0_22"
Java(TM) SE Runtime Environment (build 1.6.0_22-b04)
Java HotSpot(TM) 64-Bit Server VM (build 17.1-b03, mixed mode)
(0013513)
fyl   
2011-02-04 18:19   
Apache Error log while trying to run the "TEST RESULTS MATRIX"

[Fri Feb 04 10:18:17 2011] [error] [client 66.92.181.162] File does not exist: /usr/local/httpd/htdocs/testlink/lib/results/gui, referer: http://66.92.181.178/testlink/lib/results/resultsTC.php?format=0&tplan_id=16595 [^]
(0013514)
fyl   
2011-02-04 18:20   
Contents of /usr/local/httpd/htdocs/testlink/lib/results:

[root@testlinkdev2 logs]# cd ../htdocs/testlink/lib/results/
[root@testlinkdev2 results]# ls
charts.inc.php metricsDashboard.php printDocument.php resultsGeneral.php resultsReqs.php topLevelSuitesBarChart.php
charts.php overallPieChart.php priorityBarChart.php resultsImport.php resultsTC.php uncoveredTestCases.php
displayMgr.php ownerBarChart.php resultsBugs.php resultsMoreBuildsGUI.php testCasesWithCF.php
freeTestCases.php platformPieChart.php resultsByStatus.php resultsMoreBuilds.php testCasesWithoutTester.php
keywordBarChart.php printDocOptions.php resultsByTesterPerBuild.php resultsNavigator.php testPlanWithCF.php
(0013515)
fman   
2011-02-04 18:43   
never add a big amount of text pasted on a note is absolutely unreadable then useless and terribly annoying.
Why is important java version ? we are not using java?
Adding contents of a folder is also useless

in short like it or not your report is a mess.
(0013516)
fyl   
2011-02-04 19:14   
The report works fine if you tell it to export as an EXCEL Document.
I am sorry about the annoying posts. I was merely trying to supply you with as much information as possible to have a complete picture of what was going on.

A JAVA script is being called when you generate the report. Install Firebug and you will see what I mean.

I can attach the successful run of the report as an excel file if it will help you.
(0013517)
fyl   
2011-02-04 19:20   
I have attached a screen shot of the error when executing the report. All other reports run fine and do not generate this error. To my knowledge this report is a canned TESTLINK report.
(0013518)
fyl   
2011-02-04 19:22   
I have also attached the successful run of the report as an Excel file for your reference.

Since TESTLINK calls this java script then the version of JAVA will have some impact.
(0013553)
fyl   
2011-02-07 17:47   
Can I provide any additional information to help resolve this issue?
(0013629)
lois@rockyou.com   
2011-02-15 20:29   
(edited on: 2011-02-15 20:40)
I am able to export the test results matrix as an emailed HTML report, but we cannot display as HTML... couldn't glean anything useful our of the userlog*.txt files.

My personal feeling is that there is something to look at in the lib/results/resultsTC.php code - ?

(0013724)
fyl   
2011-02-22 20:08   
fMAN-
Would it possible to acknowledge/confirm this issue? R
(0013725)
Julian   
2011-02-22 20:53   
have you applied this fix: 0004195

if not please do so.
(0013734)
fyl   
2011-02-23 16:59   
Julian-
This resolved the issue. I noticed that the file already had most of the echo statements remarked. I simply remarked every echo statement in the file.
(0013952)
fman   
2011-03-18 19:08   
release - 1.9.2 - 20110320