Mantis Bugtracker          
testlink.org

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0003699TestLinkIntegration with Other Systemspublic2010-08-23 10:512010-08-31 20:26
ReporterDrops 
Assigned Tofman 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version1.9 Beta 5 
Fixed in Version1.9 Beta 6 
Summary0003699: Integration with Trac via XML-RPC does not work
DescriptionI found that in file variable
\testlink1.9\lib\bugtracking\int_bugtracking.php

Line: 364
$btsname = strtolower($g_interface_bugs);

returns empty till I replace it by

$btsname = strtolower($bts_type);


See the part of the php code.
/ -----------------------------------------------------------------------------------
// DONT TOUCH ANYTHING BELOW THIS NOTICE!
// -----------------------------------------------------------------------------------
$g_bugInterfaceOn = false;
$g_bugInterface = null;
$bts_type = config_get('interface_bugs');
if (isset($bts[$bts_type]))
{
    $btsname = strtolower($g_interface_bugs); //Drops//--> $btsname = strtolower($bts_type);
    $configPHP = $btsname . '.cfg.php';
    $interfacePHP = 'int_' . $btsname . '.php';

    require_once(TL_ABS_PATH . 'cfg/'. $configPHP);
    require_once(TL_ABS_PATH . 'lib/bugtracking/'. $interfacePHP);

    $g_bugInterfaceName = BUG_INTERFACE_CLASSNAME;
    $g_bugInterface = new $g_bugInterfaceName();
    if ($g_bugInterface)
    {
        $g_bugInterface->connect();
    }
    
    // Important: connect() do log if something fails
    $g_bugInterfaceOn = ($g_bugInterface && $g_bugInterface->isConnected());
}
TagsNo tags attached.
Database (MySQL,Postgres,etc)MySQL 5.1.36
Browserany
PHP VersionPHP 5.2.10
TestCaseID
QA Team - Task Workflow Status
Attached Files

- Relationships

-  Notes
(0010918)
fman (administrator)
2010-08-23 18:02

Thanks
(0011037)
fman (administrator)
2010-08-31 20:26

Release BETA 6 - 20100831

- Issue History
Date Modified Username Field Change
2010-08-23 10:51 Drops New Issue
2010-08-23 18:02 fman Note Added: 0010918
2010-08-23 18:03 fman Status new => resolved
2010-08-23 18:03 fman Fixed in Version => 1.9 Beta 6
2010-08-23 18:03 fman Resolution open => fixed
2010-08-23 18:03 fman Assigned To => fman
2010-08-31 20:26 fman Note Added: 0011037
2010-08-31 20:26 fman Status resolved => closed



Copyright © 2000 - 2020 MantisBT Team
Powered by Mantis Bugtracker