Testlink 1.7.4 Bugzilla integration

Ask community to help.

Moderators: Amaradana, TurboPT, TL Developers

Post Reply
eitrance
TestLink user
Posts: 8
Joined: Wed Jun 24, 2009 1:43 pm

Testlink 1.7.4 Bugzilla integration

Post by eitrance »

Hi,
We are running bugzilla 3.0 & Testlink on the same Ubuntu server machine.
MySQL db, Apache2, php 5.1.2.
I've recently upgraded Testlink from 1.6.2 to 1.7.5 and succefully migrated our DB, However, I didn't mange to set the bugzila integration again (everything worked find under 1.6.2)
I copied all the parmas form 1.6.2 bugzilla.php to 1.7.5 and now it looks like :


//Set the bug tracking system Interface
/** The DB host to use when connecting to the Bugzilla db */
define('BUG_TRACK_DB_HOST', 'localhost');

/** The name of the database that contains the Bugzilla tables */
define('BUG_TRACK_DB_NAME', 'bugs');

/** BUGID 1444 - in some installations with Postgres you will need to use it */
// define('BUG_TRACK_DB_SCHEME','[your_schema_for_bugzilla]');

/** The DB type being used by Bugzilla */
define('BUG_TRACK_DB_USER', 'bugs');

/** The DB password to use for connecting to the Bugzilla db */
define('BUG_TRACK_DB_PASS', 'evtt12345');

/** The DB type to use for connecting to the bugtracking db */
define('BUG_TRACK_DB_TYPE', 'mysql');

define('BUG_TRACK_DB_CHARSET',"windows-1250");
//define('BUG_TRACK_DB_CHARSET',"gb2312");
//define('BUG_TRACK_DB_CHARSET',"UTF-8");


/** link of the web server */
define('BUG_TRACK_HREF', "http://192.168.2.253/bugzilla/show_bug.cgi?id=");

/** link to the bugtracking system, for entering new bugs */
define('BUG_TRACK_ENTER_BUG_HREF',"http://192.168.2.253/bugzilla/enter_bug.cgi");


ALso added line
$g_interface_bugs='BUGZILLA' to custom_config.inc.php

I've tried some advices on this forum like changeing charset to UTF-8 (tried all 3 options) didn't work,
I've also changed config.inc.php to :
$g_bugInterfaceOn = false; ---- change it to true

DId'nt help
Can anyone please assist , would be greatly apriciated.

E.
Dualtha
Advanced user
Posts: 27
Joined: Thu Jun 11, 2009 4:51 pm

Post by Dualtha »

Where is the $g_bugInterfaceOn = false; setting?
I am unable to find this in any config files....
eitrance
TestLink user
Posts: 8
Joined: Wed Jun 24, 2009 1:43 pm

Post by eitrance »

it's under a file called config.inc.php
Dualtha
Advanced user
Posts: 27
Joined: Thu Jun 11, 2009 4:51 pm

Post by Dualtha »

I checked this file and in 1.8.2 this setting was not there. I copied it in but I am still unable to get the Bug link to appear for the integration.
eitrance
TestLink user
Posts: 8
Joined: Wed Jun 24, 2009 1:43 pm

Post by eitrance »

Well,
On a brand new machine I upgraded to 1.8.3 and migrated my DB.
It works now :D .
havlatm
Member of TestLink Community
Posts: 940
Joined: Mon Oct 31, 2005 1:24 am
Location: Czech

Post by havlatm »

@Dualtha, there is no changes between 1.8.2 and 1.8.3 in this. The configuration parameter $g_bugInterfaceOn is there a several years.
Dualtha
Advanced user
Posts: 27
Joined: Thu Jun 11, 2009 4:51 pm

Post by Dualtha »

Weird. I can find it in my "live" 1.8.3 installation but not in my test environment using 1.8.2. I have added this in anyways.
I am still unable to get this integration working though. The database is on a remote server. Is there any database configuration on a TL side I need to complete? I have done everything that the documentation expresses.
Post Reply