Mantis Bugtracker          
testlink.org

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0005301TestLinkIssue Tracker managementpublic2012-10-23 08:172013-05-26 20:06
ReporterRalf Eberhardt 
Assigned Tofman 
PrioritynormalSeveritymajorReproducibilityalways
StatusclosedResolutionfixed 
PlatformLinuxOSDebian LinuxOS VersionSqueeze
Product Version1.9.4 (2012 Q3 - bug fixing) 
Fixed in Version1.9.5 (2012 Q4 - bug fixing) 
Summary0005301: Wrong bracket
Descriptionfile: /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)

Steps To ReproduceEnable 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.
Additional InformationIt 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']

TagsNo tags attached.
Database (MySQL,Postgres,etc)mysql
Browserall
PHP Version5.3.3
TestCaseID
QA Team - Task Workflow StatusREADY FOR TESTING
Attached Files

- Relationships

-  Notes
(0017724)
fman (administrator)
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 [^]


- Issue History
Date Modified Username Field Change
2012-10-23 08:17 Ralf Eberhardt New Issue
2012-10-23 19:24 fman Note Added: 0017724
2012-10-23 19:26 fman Note Edited: 0017724 View Revisions
2012-10-23 19:27 fman Task Workflow Status TBD => READY FOR TESTING
2012-10-23 19:27 fman Status new => resolved
2012-10-23 19:27 fman Fixed in Version => 1.9.5 (2012 Q4 - bug fixing)
2012-10-23 19:27 fman Resolution open => fixed
2012-10-23 19:27 fman Assigned To => fman
2013-05-26 20:06 fman Status resolved => closed



Copyright © 2000 - 2018 MantisBT Team
Powered by Mantis Bugtracker