[SOLVED]Integration issue with Relevant Bugs field

Moderators: Amaradana, TurboPT, TL Developers

Locked
Benm
TestLink user
Posts: 2
Joined: Sat Apr 13, 2013 6:54 am

[SOLVED]Integration issue with Relevant Bugs field

Post by Benm »

Hi,
I am trying to integrate Testlink with Mantis, but am having an issue. So far I have it so Testlink can access the Mantis Bug ID numbers, but the "Relevant bugs" section is blank. Essentially I am connecting to the database, but none of the bug info is coming over. I am running:
Testlink 1.9.6
Mantis 1.2.2
PHP 5.3.3
MySQL 5.0.95
Anonymous login is turned on. Using Mantis DB interface in Testlink (not SOAP). Linux.

Mantis configuration is as follows:
<issuetracker>
<dbhost>HOSTNAME</dbhost>
<dbname>DB_NAME</dbname>
<dbtype>mysql</dbtype>
<dbuser>USERNAME</dbuser>
<dbpassword>USER_PASS</dbpassword>
<uriview>http://mantis.MY_URL.com/view.php?id=</uriview>
<uricreate>http://mantis.MY_URL.com/</uricreate>
</issuetracker>

I was wondering if anyone had an idea as to why the Relevant bugs field inside Testlink is empty. Please let me know if any additional info is needed.

Thanks.
fluter
TestLink user
Posts: 2
Joined: Thu Mar 28, 2013 5:51 pm

Re: Integration issue with Relevant Bugs field

Post by fluter »

Did you ever read my post?
http://www.teamst.org/forum/viewtopic.p ... 1ddc68821a

I installed testlink on ubuntu server 10.4,
I have changed the source code in"/var/www/testlink/lib/issuetrackerintegration/mantisdbInterface.class.php" at line 161.


# Beginning of delete
# return "<div title=\"{$title}\" style=\"display: inline; background: $color;\">$linkVerbose->link</div>";
# End of delete
# Beginning of new

$linkVerbose->link = "<div title=\"{$title}\" style=\"display: inline; background: $color;\">$linkVerbose->link</div>";
return $linkVerbose;

# End of new

It worked after the modification, maybe it can help you too.
good luck.
Benm
TestLink user
Posts: 2
Joined: Sat Apr 13, 2013 6:54 am

Re: Integration issue with Relevant Bugs field

Post by Benm »

That did fix it, thanks for the help.
Locked