MantisBT - TestLink
View Issue Details
0007393TestLinkBug Tracking System - JIRA Integrationpublic2015-12-18 16:192016-09-08 15:13
vincent.morin 
fman 
lowtrivialalways
closedfixed 
tests vxlLinux RHEL6.5
1.9.14 (2015 Q3) 
1.9.15 (2015 Q4) 
MySQL 5.6
5.5
READY FOR TESTING
0007393: Issue Tracker JIRA REST check connexion twice
When issue tracking system init a connexion to jira by rest I have seen the test was done twice. I guess that could be avoided.

read lib/issuetrackerintegration/jirarestInterface.class.php
near line 120
    function connect()
    {
...
      $this->connected = $this->APIClient->testLogin();
      if($this->APIClient->testLogin() && ($this->cfg->projectkey != self::NOPROJECTKEY))

Here $this->APIClient->testLogin() is called twice.

I suggest to change the line 135 like:
      if($this->connected && ($this->cfg->projectkey != self::NOPROJECTKEY))


Thanks.
No tags attached.
child of 0007262closed fman Availables hot-fixes for 1.9.14 & How To get full fixed package from GitHub 
Issue History
2015-12-18 16:19vincent.morinNew Issue
2015-12-18 16:54fmanNote Added: 0024373
2015-12-19 12:23fmanQA Team - Task Workflow Status => READY FOR TESTING
2015-12-19 12:23fmanStatusnew => resolved
2015-12-19 12:23fmanFixed in Version => 1.9.15 (2015 Q4)
2015-12-19 12:23fmanResolutionopen => fixed
2015-12-19 12:23fmanAssigned To => fman
2015-12-19 12:23fmanRelationship addedchild of 0007262
2016-09-08 15:13fmanNote Added: 0025296
2016-09-08 15:13fmanStatusresolved => closed

Notes
(0024373)
fman   
2015-12-18 16:54   
OK; thanks will check
(0025296)
fman   
2016-09-08 15:13   
1.9.15 Released - 2016-09-08