Jira, mysql and russian language

1.8 related questions and discussions.
Please upgrade to LATEST 1.9.x.
No more fixes for 1.8.

Moderators: Amaradana, TurboPT, TL Developers

Jira, mysql and russian language

Postby Freiman » Fri May 16, 2008 11:56 am

I have TestLink and JIRA with MySQL database. Database collations are utf8_general_ci, MySQL chrset - UTF8 Unicode. I can use russian language in TestLink and JIRA in all fields, it's ok. But then I add bug from JIRA to TL I get "??????" instead of cyrillic characters.
Freiman
TestLink user
 
Posts: 3
Joined: Fri May 16, 2008 11:34 am

Postby Freiman » Fri May 16, 2008 12:26 pm

It's a problem of TL1.8. It don't has BUG_TRACK_DB_CHARSET property.

I try on TL 1.7.3 - ok.


please move or delete this topic.
Freiman
TestLink user
 
Posts: 3
Joined: Fri May 16, 2008 11:34 am

Postby iptr » Fri Dec 05, 2008 10:26 am

Hi, I have the same problem with TL 1.8 RC1.
How can I repair it? I tryed to add BUG_TRACK_DB_CHARSET property in jira config, but it doesn't work. =(
iptr
TestLink user
 
Posts: 4
Joined: Fri Dec 05, 2008 10:23 am

Postby iptr » Mon Dec 08, 2008 9:18 am

Guys, I need your help! Please, let me know, if you know how to solve that trouble.
iptr
TestLink user
 
Posts: 4
Joined: Fri Dec 05, 2008 10:23 am

Postby iptr » Mon Dec 08, 2008 1:44 pm

Ok, I resolved this problem. This is what I did:

1. Add to /cfg/jira.cfg.php this line:
Code: Select all
define('BUG_TRACK_DB_CHARSET', 'utf8');


2. Add to /lib/bugtracking/int_jira.php into function getBugSummaryString after connection to DB this line:
Code: Select all
$this->dbConnection->exec_query("SET NAMES '$this->dbCharSet'");


And that's all :lol:
If somebody have the same problem, I hope, my solution will help you.
iptr
TestLink user
 
Posts: 4
Joined: Fri Dec 05, 2008 10:23 am

Postby havlatm » Thu Dec 11, 2008 2:42 pm

Thank you for the solution. Unfortunately there is not JIRA user in dev team now. So that is why you didn't receive answer for long time :-(
I updated code and manual according your suggestion. Thanks.
havlatm
Member of TestLink Community
 
Posts: 940
Joined: Mon Oct 31, 2005 1:24 am
Location: Czech


Return to TestLink 1.8 (OBSOLETE => EOL)[LOCKED]



Who is online

Users browsing this forum: No registered users and 1 guest

cron