MantisBT - TestLink
View Issue Details
0005301TestLinkIssue Tracker managementpublic2012-10-23 08:172013-05-26 20:06
Ralf Eberhardt 
fman 
normalmajoralways
closedfixed 
LinuxDebian LinuxSqueeze
1.9.4 (2012 Q3 - bug fixing) 
1.9.5 (2012 Q4 - bug fixing) 
mysql
all
5.3.3
READY FOR TESTING
0005301: Wrong bracket
file: /bugzillaxmlrpcInterface.class.php
line: 154
function: getIssue()

The line is actually:
if(count($resp['Bug.get']['faults'] == 0))

but should be better:
if(count($resp['Bug.get']['faults']) == 0)

Enable the bugzilla xmlrpc interface.

Click on the 'bug' in the test execution view after reporting a failed test.

Select a bugid for which you don't have the right to access.
It would be good if the function getIssue() reported above could also print
the actual fault message. You could for example add an else clause for
the if clase in the reported line and print the string in variable
  $resp['Bug.get']['faults'][0]['faultString']

No tags attached.
Issue History
2012-10-23 08:17Ralf EberhardtNew Issue
2012-10-23 19:24fmanNote Added: 0017724
2012-10-23 19:26fmanNote Edited: 0017724bug_revision_view_page.php?bugnote_id=17724#r2149
2012-10-23 19:27fmanTask Workflow StatusTBD => READY FOR TESTING
2012-10-23 19:27fmanStatusnew => resolved
2012-10-23 19:27fmanFixed in Version => 1.9.5 (2012 Q4 - bug fixing)
2012-10-23 19:27fmanResolutionopen => fixed
2012-10-23 19:27fmanAssigned To => fman
2013-05-26 20:06fmanStatusresolved => closed

Notes
(0017724)
fman   
2012-10-23 19:24   
(edited on: 2012-10-23 19:26)
TestLink 2.0 - http://gitorious.org/testlink-ga/testlink-code/commit/78b4ccc856c2df80ee46a6698b0bec976080e20a [^]

TestLink 1.9.5 - http://gitorious.org/testlink-ga/testlink-code/commit/253000ae7730fb00826bf432004758180217d947 [^]